Skylicht Engine
Loading...
Searching...
No Matches
irr::core::irrAllocator< T > Class Template Reference

Very simple allocator implementation, containers using it can be used across dll boundaries. More...

#include <C:/Projects/skylicht-engine/Projects/Irrlicht/Include/irrAllocator.h>

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)

Detailed Description

template<typename T>
class irr::core::irrAllocator< T >

Very simple allocator implementation, containers using it can be used across dll boundaries.


The documentation for this class was generated from the following file: