MT Core (C++)
Core library for replacing C++ standard in project usage
|
State variable for thread local debug 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 | |
size_t | allocatedBytes = 0 |
i64 | lastId = 0 |
std::unordered_map< i64, cpptrace::stacktrace > | trace = {} |
State variable for thread local debug allocator Must live longer (and at the same memory address) than all allocators returned by allocator()
Definition at line 312 of file core/mtcore/alloc.hpp.
|
noexcept |
size_t mtcore::ThreadLocalDebugAllocator::allocatedBytes = 0 |
Definition at line 313 of file core/mtcore/alloc.hpp.
i64 mtcore::ThreadLocalDebugAllocator::lastId = 0 |
Definition at line 314 of file core/mtcore/alloc.hpp.
std::unordered_map<i64, cpptrace::stacktrace> mtcore::ThreadLocalDebugAllocator::trace = {} |
Definition at line 316 of file core/mtcore/alloc.hpp.