ALib C++ Library
Library Version: 2402 R1
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 77 of file enumrecords.inl.

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

Public Field Index:

TIntegral integral
 
Nodenext
 
TRecord record
 

Public Method Index:

 Node () noexcept=default
 
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 80 of file enumrecords.inl.

◆ next

template<typename TEnum >
Node* next

Pointer to the next node.

Definition at line 86 of file enumrecords.inl.

◆ record

template<typename TEnum >
TRecord record

The data record.

Definition at line 83 of file enumrecords.inl.

Constructor(s) / Destructor Details::

◆ Node() [1/2]

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 97 of file enumrecords.inl.

◆ Node() [2/2]

template<typename TEnum >
Node ( )
defaultnoexcept

Default constructor.


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