arsa
2.7
|
Fast allocator, only to be used in containers inside the same memory heap. More...
#include <irrAllocator.h>
Public Member Functions | |
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... | |
Fast allocator, only to be used in containers inside the same memory heap.
Containers using it are NOT able to be used it across dll boundaries. Use this when using in an internal class or function or when compiled into a static lib
Definition at line 75 of file irrAllocator.h.
|
inline |
Allocate memory for an array of objects.
Definition at line 80 of file irrAllocator.h.
|
inline |
Construct an element.
Definition at line 92 of file irrAllocator.h.
|
inline |
Deallocate memory for an array of objects.
Definition at line 86 of file irrAllocator.h.
|
inline |