dakku::MemoryArena
memory arena (unsynchronized)
#include <memory.h>
Public Functions
| Name | |
|---|---|
| MemoryArena() =default | |
| MemoryArena(std::pmr::memory_resource * buffer) | |
| template <typename T ,typename... Args> T * |
allocObject(Args &&... args) allocate and construct a object from the arena |
| void | release() release the memory arena |
Public Functions Documentation
function MemoryArena
function MemoryArena
function allocObject
allocate and construct a object from the arena
Parameters:
- args arguments
Template Parameters:
- T object type
- Args argument types
Return: T* object instance
function release
release the memory arena
Updated on 2022-04-30 at 15:46:11 +0000