ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
StringTreeBase< T, TNodeMaintainer, TRecycling >::RootNodeSpacer Union Reference

Description:

template<typename T, typename TNodeMaintainer, typename TRecycling>
union alib::monomem::detail::StringTreeBase< T, TNodeMaintainer, TRecycling >::RootNodeSpacer

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 503 of file stringtreebase.inl.

Collaboration diagram for StringTreeBase< T, TNodeMaintainer, TRecycling >::RootNodeSpacer:
[legend]

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 ()
 
 ~RootNodeSpacer ()
 

Field Details:

◆ root

template<typename T , typename TNodeMaintainer , typename TRecycling >
Node root

Full version of the root node, without initialization of member T.

Definition at line 506 of file stringtreebase.inl.

◆ rootBase

template<typename T , typename TNodeMaintainer , typename TRecycling >
NodeBase rootBase

Base version of the root node, which becomes initialized.

Definition at line 505 of file stringtreebase.inl.

Constructor(s) / Destructor Details::

◆ RootNodeSpacer()

template<typename T , typename TNodeMaintainer , typename TRecycling >
RootNodeSpacer ( )
inline

Explicitly implement otherwise implicitly deleted constructor

Definition at line 509 of file stringtreebase.inl.

◆ ~RootNodeSpacer()

template<typename T , typename TNodeMaintainer , typename TRecycling >
~RootNodeSpacer ( )
inline

Destructor

Definition at line 512 of file stringtreebase.inl.


The documentation for this union was generated from the following file: