MT Core (C++)
Core library for replacing C++ standard in project usage
|
State variable for thread local dynamic arena allocator Must live longer (and at the same memory address) than all allocators returned by allocator() More...
#include <alloc.hpp>
Public Member Functions | |
Allocator | allocator () noexcept |
Public Attributes | |
Slice< u8 > | buff |
Allocator * | root = nullptr |
size_t | arenaSizeHint = 0 |
size_t | arenaCountHint = 0 |
size_t | offset = 0 |
State variable for thread local dynamic arena allocator Must live longer (and at the same memory address) than all allocators returned by allocator()
Definition at line 406 of file core/mtcore/alloc.hpp.
|
noexcept |
size_t mtcore::ThreadLocalDynamicArenaAllocator::arenaCountHint = 0 |
Definition at line 410 of file core/mtcore/alloc.hpp.
size_t mtcore::ThreadLocalDynamicArenaAllocator::arenaSizeHint = 0 |
Definition at line 409 of file core/mtcore/alloc.hpp.
Definition at line 407 of file core/mtcore/alloc.hpp.
size_t mtcore::ThreadLocalDynamicArenaAllocator::offset = 0 |
Definition at line 411 of file core/mtcore/alloc.hpp.
Allocator* mtcore::ThreadLocalDynamicArenaAllocator::root = nullptr |
Definition at line 408 of file core/mtcore/alloc.hpp.