Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
|
Very simple allocator implementation, containers using it can be used across dll boundaries. More...
#include <nirtcpp/core/engine/irrAllocator.hpp>
Public Member Functions | |
virtual | ~irrAllocator () |
Destructor. | |
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. | |
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.