Array::PurgeArray
Defined in:
Removes all objects from an array and deallocates storage.
TSArray.h
Prototype
void PurgeArray(void);
Description
The PurgeArray
function destroys all objects in an array (in reverse order) and sets the size of the array to zero. The storage for the array is also deallocated, returning the array to its initial state. To destory all objects in an array without deallocating the storage, call the Array::ClearArray
function.
See Also