Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/allocator-handle.hpp"
Placeholder implementation for a custom allocator.
Allo<TYPE>
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 81 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 132 of file allocator-handle.hpp.