ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::RootNodeSpacer Union Reference

Description:

template<typename TAllocator, typename T, typename TNodeHandler, Recycling TRecycling>
union alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, 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 443 of file stringtreebase.inl.

Collaboration diagram for StringTreeBase< TAllocator, T, TNodeHandler, 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 ()
 Explicitly implement otherwise implicitly deleted constructor.
 
 ~RootNodeSpacer ()
 Destructor.
 

Field Details:

◆ root

template<typename TAllocator , typename T , typename TNodeHandler , Recycling TRecycling>
Node root

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

Definition at line 446 of file stringtreebase.inl.

◆ rootBase

template<typename TAllocator , typename T , typename TNodeHandler , Recycling TRecycling>
NodeBase rootBase

Base version of the root node, which becomes initialized.

Definition at line 445 of file stringtreebase.inl.

Constructor(s) / Destructor Details:

◆ RootNodeSpacer()

template<typename TAllocator , typename T , typename TNodeHandler , Recycling TRecycling>
RootNodeSpacer ( )
inline

Explicitly implement otherwise implicitly deleted constructor.

Definition at line 449 of file stringtreebase.inl.

◆ ~RootNodeSpacer()

template<typename TAllocator , typename T , typename TNodeHandler , Recycling TRecycling>
~RootNodeSpacer ( )
inline

Destructor.

Definition at line 452 of file stringtreebase.inl.


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