Location:
e32base.h
class CArrayPtr : public CArrayFix< T * >;
A thin templated base class for arrays of pointers to objects.
The public functions contribute to standard array behaviour.
The class is always derived from and is never instantiated explicitly.
CArrayFix< T * >
- No description.
CArrayPtr
- A thin templated base class for arrays of pointers to objects
Defined in CArrayPtr
:
ResetAndDestroy()
void ResetAndDestroy();
Destroys all objects whose pointers form the elements of the array, before resetting the array.
The destructor of each class T object is called before the objects themselves are destroyed.
If the array is not empty, this member function must be called before the array is deleted to prevent the CBase
derived objects from being orphaned on the heap.
Note that each call to this function results in a small, but non-trivial, amount of code being generated.