"L. Spiro Engine"
|
#include <LSTLVectorBase.h>
Static Public Attributes | |
static CAllocator * | m_paDefaultAllocator |
Static Protected Attributes | |
static CAllocator | m_aAllocator |
Class CVectorBase
Description: Default allocator for all vector instances.
CAllocator lstl::CVectorBase::m_aAllocator [static, protected] |
The default allocator if none are supplied.
Modifiable pointer to a default allocator used by all vector objects that do not explicitly allow using a specific allocator. Must never be set to NULL. Should only be changed once, before any allocations are ever made. If a vector allocates from the default allocator and then the default is changed, the vector will not be able to free its memory unless the default is changed back. Normally you just create an allocator at the beginning, set it as the default, and then let all the vectors work off that.