![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "lib/linked-elements.hpp"
< allocation policies for the LinkedElements list container
Policy for LinkedElements: taking ownership and possibly creating new Nodes through a custom allocator.
| ALO | a C++ standard conformant allocator |
Definition at line 84 of file linked-elements.hpp.
Public Types | |
| using | CustomAllocator = ALO |
Additional Inherited Members | |
Public Member Functions inherited from StdFactory< ALO > | |
| StdFactory (Allo allo=Allo{}) | |
| Create an instance of the adapter factory, forwarding to the embedded standard conforming allocator for object creation and destruction and memory management. | |
| template<class XALO > | |
| bool constexpr | operator== (StdFactory< XALO > const &o) const |
| template<class XALO > | |
| bool constexpr | operator!= (StdFactory< XALO > const &o) const |
| template<class TY , typename... ARGS> | |
| TY * | create (ARGS &&...args) |
| create new element using the embedded allocator | |
| template<class TY > | |
| void | dispose (TY *elm) |
| destroy the given element and discard the associated memory | |
Protected Member Functions inherited from MoveOnly | |
| ~MoveOnly ()=default | |
| MoveOnly ()=default | |
| MoveOnly (MoveOnly &&)=default | |
| MoveOnly (MoveOnly const &)=delete | |
| MoveOnly & | operator= (MoveOnly &&)=delete |
| MoveOnly & | operator= (MoveOnly const &)=delete |
| using CustomAllocator = ALO |
Definition at line 90 of file linked-elements.hpp.
Inheritance diagram for OwningAllocated< ALO >:
Collaboration diagram for OwningAllocated< ALO >: