MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::ThreadLocalFixedBufferAllocator Struct Reference

State variable for thread local fixed buffer allocator Must live longer (and at the same memory address) than all allocators returned by allocator() More...

#include <alloc.hpp>

Collaboration diagram for mtcore::ThreadLocalFixedBufferAllocator:

Public Member Functions

Allocator allocator () noexcept
 

Public Attributes

Slice< u8buff
 

Detailed Description

State variable for thread local fixed buffer allocator Must live longer (and at the same memory address) than all allocators returned by allocator()

Definition at line 347 of file core/mtcore/alloc.hpp.

Member Function Documentation

◆ allocator()

Allocator mtcore::ThreadLocalFixedBufferAllocator::allocator ( )
noexcept
Returns
Allocator VTable that can be passed to functions which allocator

Member Data Documentation

◆ buff

Slice<u8> mtcore::ThreadLocalFixedBufferAllocator::buff

Definition at line 348 of file core/mtcore/alloc.hpp.


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