Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/linked-elements.hpp"
Policy for LinkedElements: never create or destroy any elements, only allow to add already existing nodes.
next
pointer field, which is used ("intrusively") for managing the list datastructure. But besides that, the node element won't be altered or discarded in any way. Definition at line 126 of file linked-elements.hpp.
Public Types | |
typedef void * | CustomAllocator |
Public Member Functions | |
template<class TY , typename... ARGS> | |
TY & | create (ARGS &&...) |
void | destroy (void *) |
this policy doesn't take ownership and thus never discards anything | |