Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/allocator-handle.hpp"
Placeholder implementation for a custom allocator.
shall be replaced by an AllocationCluster eventually
5/2024 to be reworked and aligned with a prospective C++20 Allocator Concept /////////////////////TICKET #1366
std::list
container, since re-entrant allocation calls are possible, meaning that further allocations will be requested recursively from a ctor. Moreover, for the same reason we separate the allocation from the ctor call, so we can capture the address of the new allocation prior to any possible re-entrant call, and handle clean-up of allocation without requiring any additional state flags..... Definition at line 296 of file allocator-handle.hpp.
Public Member Functions | |
~AllocatorHandle () | |
template<typename... ARGS> | |
TY & | operator() (ARGS &&...args) |
Classes | |
struct | Allocation |
Private Attributes | |
std::list< Allocation > | storage_ |
|
inline |
Definition at line 347 of file allocator-handle.hpp.