arsa
2.7
|
Very simple allocator implementation, containers using it can be used across dll boundaries. More...
#include <irrAllocator.h>
Public Member Functions | |
virtual | ~irrAllocator () |
Destructor. More... | |
T * | allocate (size_t cnt) |
Allocate memory for an array of objects. More... | |
void | deallocate (T *ptr) |
Deallocate memory for an array of objects. More... | |
void | construct (T *ptr, const T &e) |
Construct an element. More... | |
void | destruct (T *ptr) |
Destruct an element. More... | |
Protected Member Functions | |
virtual void * | internal_new (size_t cnt) |
virtual void | internal_delete (void *ptr) |
Very simple allocator implementation, containers using it can be used across dll boundaries.
Definition at line 25 of file irrAllocator.h.
|
inlinevirtual |
|
inline |
Allocate memory for an array of objects.
Definition at line 33 of file irrAllocator.h.
|
inline |
Construct an element.
Definition at line 45 of file irrAllocator.h.
|
inline |
Deallocate memory for an array of objects.
Definition at line 39 of file irrAllocator.h.
|
inline |
|
inlineprotectedvirtual |
Definition at line 63 of file irrAllocator.h.
|
inlineprotectedvirtual |
Definition at line 58 of file irrAllocator.h.