YOrch 1.0.0
Loading...
Searching...
No Matches
yorch::detail::builder_storage_base< Derived, Nodes > Struct Template Reference

#include <builder_storage_base.hpp>

Public Types

using tuple_type = std::tuple< Nodes... >
 
template<std::size_t I>
using node_type = std::tuple_element_t< I, tuple_type >
 

Public Member Functions

template<std::size_t I>
constexpr autoentry () &noexcept
 
template<std::size_t I>
constexpr const autoentry () const &noexcept
 
template<std::size_t I>
constexpr auto && entry () &&noexcept
 

Public Attributes

tuple_type nodes {}
 

Static Public Attributes

static constexpr std::size_t node_count = sizeof...(Nodes)
 
static constexpr std::size_t max_level = detail::max_level_v<Nodes...>
 

Detailed Description

template<typename Derived, typename... Nodes>
struct yorch::detail::builder_storage_base< Derived, Nodes >

Definition at line 12 of file builder_storage_base.hpp.

Member Typedef Documentation

◆ node_type

template<typename Derived , typename... Nodes>
template<std::size_t I>
using yorch::detail::builder_storage_base< Derived, Nodes >::node_type = std::tuple_element_t<I, tuple_type>

Definition at line 21 of file builder_storage_base.hpp.

◆ tuple_type

template<typename Derived , typename... Nodes>
using yorch::detail::builder_storage_base< Derived, Nodes >::tuple_type = std::tuple<Nodes...>

Definition at line 13 of file builder_storage_base.hpp.

Member Function Documentation

◆ entry() [1/3]

template<typename Derived , typename... Nodes>
template<std::size_t I>
constexpr auto && yorch::detail::builder_storage_base< Derived, Nodes >::entry ( ) &&
inlineconstexprnoexcept

Definition at line 34 of file builder_storage_base.hpp.

◆ entry() [2/3]

template<typename Derived , typename... Nodes>
template<std::size_t I>
constexpr auto & yorch::detail::builder_storage_base< Derived, Nodes >::entry ( ) &
inlineconstexprnoexcept

Definition at line 24 of file builder_storage_base.hpp.

◆ entry() [3/3]

template<typename Derived , typename... Nodes>
template<std::size_t I>
constexpr const auto & yorch::detail::builder_storage_base< Derived, Nodes >::entry ( ) const &
inlineconstexprnoexcept

Definition at line 29 of file builder_storage_base.hpp.

Member Data Documentation

◆ max_level

template<typename Derived , typename... Nodes>
constexpr std::size_t yorch::detail::builder_storage_base< Derived, Nodes >::max_level = detail::max_level_v<Nodes...>
staticconstexpr

Definition at line 18 of file builder_storage_base.hpp.

◆ node_count

template<typename Derived , typename... Nodes>
constexpr std::size_t yorch::detail::builder_storage_base< Derived, Nodes >::node_count = sizeof...(Nodes)
staticconstexpr

Definition at line 17 of file builder_storage_base.hpp.

◆ nodes

template<typename Derived , typename... Nodes>
tuple_type yorch::detail::builder_storage_base< Derived, Nodes >::nodes {}

Definition at line 15 of file builder_storage_base.hpp.


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