Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
|
Fast allocator, only to be used in containers inside the same memory heap. More...
#include <nirtcpp/core/engine/irrAllocator.hpp>
Public Member Functions | |
T * | allocate (size_t cnt) |
Allocate memory for an array of objects. | |
void | deallocate (T *ptr) |
Deallocate memory for an array of objects. | |
void | construct (T *ptr, const T &e) |
Construct an element. | |
void | destruct (T *ptr) |
Destruct an element. | |
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