Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
nirt::core::irrAllocator< T > Class Template Reference

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.
 
Tallocate (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 voidinternal_new (size_t cnt)
 
virtual void internal_delete (void *ptr)
 

Detailed Description

template<typename T>
class nirt::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:

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print