ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
EnumRecords< TEnum, TEnableIf >::Initializer Struct Reference

Description:

template<typename TEnum, typename TEnableIf>
struct alib::enums::EnumRecords< TEnum, TEnableIf >::Initializer

Helper struct used with bulk-initialization method Bootstrap(std::initializer_list<Initializer>).

Definition at line 448 of file records.hpp.

#include <records.hpp>

Collaboration diagram for EnumRecords< TEnum, TEnableIf >::Initializer:
[legend]

Public Field Index:

TEnum element
 
TRecord record
 

Public Method Index:

template<typename... TArgs>
 Initializer (TEnum elem, TArgs &&... args) noexcept
 

Field Details:

◆ element

template<typename TEnum , typename TEnableIf >
TEnum element

The enumeration element.

Definition at line 451 of file records.hpp.

◆ record

template<typename TEnum , typename TEnableIf >
TRecord record

The static data record.

Definition at line 454 of file records.hpp.

Constructor(s) / Destructor Details::

◆ Initializer()

template<typename TEnum , typename TEnableIf >
template<typename... TArgs>
Initializer ( TEnum elem,
TArgs &&... args )
inlinenoexcept

Constructor taking variadic template arguments to construct the record.

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

Definition at line 464 of file records.hpp.


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