CppAD: A C++ Algorithmic Differentiation Package
20130918
|
static std::vector<discrete *>& CppAD::discrete< Base >::List | ( | void | ) | [inline, static, private] |
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 223 of file discrete.hpp.
Referenced by CppAD::discrete< Base >::discrete(), CppAD::discrete< Base >::eval(), CppAD::discrete< Base >::name(), and CppAD::parallel_ad().