This is a union of either a node with a custom object or without. This tricks us into the position to embed the memory for a custom type which may optionally be assigned to the root node, without constructing it. Construction will only be done with explicit use of method StringTree::ConstructRootValue.
Definition at line 428 of file stringtreebase.inl.
Public Field Index: | |
Node | root |
Full version of the root node, without initialization of member T. | |
NodeBase | rootBase |
Base version of the root node, which becomes initialized. | |
Public Method Index: | |
RootNodeSpacer () | |
Explicitly implement otherwise implicitly deleted constructor. | |
~RootNodeSpacer () | |
Destructor. | |
Node alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::RootNodeSpacer::root |
Full version of the root node, without initialization of member T.
Definition at line 431 of file stringtreebase.inl.
NodeBase alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::RootNodeSpacer::rootBase |
Base version of the root node, which becomes initialized.
Definition at line 430 of file stringtreebase.inl.
|
inline |
Explicitly implement otherwise implicitly deleted constructor.
Definition at line 434 of file stringtreebase.inl.
|
inline |
Destructor.
Definition at line 437 of file stringtreebase.inl.