CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
static std::vector<discrete *>& CppAD::discrete< Base >::List ( void  )
inlinestaticprivate

List of all objects in this class.

If we use CppAD::vector for this vector, it will appear that there is a memory leak because this list is not distroyed before thread_alloc::free_available(thread) is called by the testing routines.

Definition at line 216 of file discrete.hpp.

Referenced by CppAD::discrete< Base >::discrete(), CppAD::discrete< Base >::eval(), CppAD::discrete< Base >::name(), and CppAD::parallel_ad().