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

Fast allocator, only to be used in containers inside the same memory heap. More...

#include <nirtcpp/core/engine/irrAllocator.hpp>

Public Member Functions

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.
 

Detailed Description

template<typename T>
class nirt::core::irrAllocatorFast< T >

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


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

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print