memory
|
A stateful RawAllocator that uses a fixed sized storage for the allocations.
It works on a static_allocator_storage and uses its memory for all allocations. Deallocations are not supported, memory cannot be marked as freed.
Typedefs | |
using | is_stateful = std::true_type |
Member Functions | |
template<std::size_t Size> | |
static_allocator (static_allocator_storage< Size > &storage) noexcept | |
void * | allocate_node (std::size_t size, std::size_t alignment) |
void | deallocate_node (void *, std::size_t, std::size_t) noexcept |
std::size_t | max_node_size () const noexcept |
std::size_t | max_alignment () const noexcept |
|
noexcept |
void * allocate_node | ( | std::size_t | size, |
std::size_t | alignment | ||
) |
nullptr
.
|
noexcept |
|
noexcept |
|
noexcept |