|
Galois
|
This implements a bump pointer though chunks of memory that falls back to malloc if the source heap cannot accommodate an allocation. More...
#include <Mem.h>
Public Types | |
| enum | { AllocSize = 0 } |
Public Member Functions | |
| BumpWithMallocHeap () | |
| ~BumpWithMallocHeap () | |
| void | clear () |
| void * | allocate (size_t size) |
| void | deallocate (void *) |
This implements a bump pointer though chunks of memory that falls back to malloc if the source heap cannot accommodate an allocation.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |