Chombo + EB + MF
3.2
|
Default allocator. More...
#include <CHArray.H>
Public Member Functions | |
DefaultArrayAlloc () | |
T * | allocate (const USz_t size) |
T * | allocate (void *const addr, const USz_t size) |
void | deallocate (T *p, const USz_t size) |
Private Types | |
enum | AllocBy { AllocUndefined, AllocNew, AllocRaw } |
Private Attributes | |
AllocBy | m_allocBy |
Default allocator.
Allocators used by class array are simplified versions of the std::allocator and may contain member data. The following members are required:
The following members are optional:
|
private |
|
inline |
|
inline |
References CH_assert, and IntVect::p().
|
inline |
|
inline |
References IntVect::p().
|
private |