ALib C++ Framework
by
Library Version: 2605 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::containers::detail::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 void ConstructRootValue(TArgs&& ...) .

Definition at line 399 of file stringtreebase.hpp.

#include <stringtreebase.hpp>

Collaboration diagram for alib::containers::detail::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 alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::RootNodeSpacer::root

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

Definition at line 401 of file stringtreebase.hpp.

◆ rootBase

template<typename TAllocator, typename T, typename TNodeHandler, Recycling TRecycling>
NodeBase alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::RootNodeSpacer::rootBase

Base version of the root node, which becomes initialized.

Definition at line 400 of file stringtreebase.hpp.

Constructor(s) / Destructor Details:

◆ RootNodeSpacer()

template<typename TAllocator, typename T, typename TNodeHandler, Recycling TRecycling>
alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::RootNodeSpacer::RootNodeSpacer ( )
inline

Explicitly implement otherwise implicitly deleted constructor.

Definition at line 404 of file stringtreebase.hpp.

◆ ~RootNodeSpacer()

template<typename TAllocator, typename T, typename TNodeHandler, Recycling TRecycling>
alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::RootNodeSpacer::~RootNodeSpacer ( )
inline

Destructor.

Definition at line 407 of file stringtreebase.hpp.


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