GClasses
|
Deletes all of the pointers in a vector when this object goes out of scope. More...
#include <GHolders.h>
Public Member Functions | |
VectorOfPointersHolder (std::vector< T * > &vec) | |
~VectorOfPointersHolder () | |
Deletes all of the pointers in the vector. | |
Protected Attributes | |
std::vector< T * > & | m_vec |
Deletes all of the pointers in a vector when this object goes out of scope.
GClasses::VectorOfPointersHolder< T >::VectorOfPointersHolder | ( | std::vector< T * > & | vec | ) | [inline] |
GClasses::VectorOfPointersHolder< T >::~VectorOfPointersHolder | ( | ) | [inline] |
Deletes all of the pointers in the vector.
std::vector<T*>& GClasses::VectorOfPointersHolder< T >::m_vec [protected] |