A default memory space allocator, offering the most basic memory allocation method. More...
Public Member Functions | |
virtual UniquePtr< T > | allocate (unsigned long long size) override |
Public Member Functions inherited from nkMemory::MemorySpaceAllocator< T > | |
virtual | ~MemorySpaceAllocator ()=default |
A default memory space allocator, offering the most basic memory allocation method.
|
overridevirtual |
Allocates a memory space of given type through a makeUnique call.
size | The size of the needed memory space, in number of elements. |
Implements nkMemory::MemorySpaceAllocator< T >.