ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
EnumRecordHook< TEnum >::Node Struct Reference

Description:

template<typename TEnum>
struct alib::enums::detail::EnumRecordHook< TEnum >::Node

A node of the forward list that contains the custom record data.

Definition at line 71 of file enumrecords.inl.

Collaboration diagram for EnumRecordHook< TEnum >::Node:
[legend]

Public Field Index:

TIntegral integral
 The enum element's underlying integral value.
 
Nodenext
 Pointer to the next node.
 
TRecord record
 The data record.
 

Public Method Index:

 Node () noexcept=default
 Default constructor.
 
template<typename... TArgs>
 Node (TEnum element, TArgs &&... args) noexcept
 

Field Details:

◆ integral

template<typename TEnum >
TIntegral integral

The enum element's underlying integral value.

Definition at line 74 of file enumrecords.inl.

◆ next

template<typename TEnum >
Node* next

Pointer to the next node.

Definition at line 80 of file enumrecords.inl.

◆ record

template<typename TEnum >
TRecord record

The data record.

Definition at line 77 of file enumrecords.inl.

Constructor(s) / Destructor Details:

◆ Node()

template<typename TEnum >
template<typename... TArgs>
Node ( TEnum element,
TArgs &&... args )
inlinenoexcept

Constructs this instance taking variadic template arguments to construct the contained enum record of custom type.

Template Parameters
TArgsTypes of the variadic arguments args.
Parameters
elementThe enum element
argsVariadic arguments forwarded to constructor of field record.

Definition at line 89 of file enumrecords.inl.


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