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 443 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. | |
Full version of the root node, without initialization of member T.
Definition at line 446 of file stringtreebase.inl.
NodeBase rootBase |
Base version of the root node, which becomes initialized.
Definition at line 445 of file stringtreebase.inl.
|
inline |
Explicitly implement otherwise implicitly deleted constructor.
Definition at line 449 of file stringtreebase.inl.
|
inline |
Destructor.
Definition at line 452 of file stringtreebase.inl.