BlockArray< T, BLOCK_SIZE_EXPONENT, MEMFLAGS, ALLOCATOR >::ForwardAllocator Struct Reference

公共成员函数

  ForwardAllocator (ALLOCATOR *a)
  ForwardAllocator (const ForwardAllocator & src )
void  operator= (const ForwardAllocator &)
Int   ComputeArraySize ( Int currentSize, Int increment, Int minChunkSize)
void *  Alloc ( Int s, MAXON_SOURCE_LOCATION_DECLARATION )
void *  Realloc (void *p, Int n, MAXON_SOURCE_LOCATION_DECLARATION )
template<typename X >
void  Free (X *&p)

Private Attributes

ALLOCATOR *  _a

构造函数 & 析构函数文档编制

◆  ForwardAllocator() [1/2]

ForwardAllocator ( ALLOCATOR *  a )
explicit

◆  ForwardAllocator() [2/2]

ForwardAllocator ( const ForwardAllocator src )

成员函数文档编制

◆  operator=()

void operator= ( const ForwardAllocator )

◆  ComputeArraySize()

Int ComputeArraySize ( Int   currentSize ,
Int   increment ,
Int   minChunkSize  
)

◆  Alloc()

void* Alloc ( Int   s ,
MAXON_SOURCE_LOCATION_DECLARATION    
)

◆  Realloc()

void* Realloc ( void *  p ,
Int   n ,
MAXON_SOURCE_LOCATION_DECLARATION    
)

◆  Free()

void Free ( X *&  p )

Member Data Documentation

◆  _a

ALLOCATOR* _a private