18 void* elements =
TNULL;
22 elements =
m_pAllocator->Malloc( a_iNewSize * a_iElementSize );
43 if ( curSize < newSize )
47 while ( curSize < newSize )
#define TOSHI_NAMESPACE_START
#define TOSHI_NAMESPACE_END
Dynamic vector container for the Toshi engine.
TFORCEINLINE const T & Min(const T &a, const T &b)
static void * MemCopy(void *dst, const void *src, TSIZE size)
void Grow(TINT a_iNumElements, TINT a_iElementSize)
T2Allocator * m_pAllocator
void Reallocate(TINT a_iNewSize, TINT a_iElementSize)