ALib C++ Library
Library Version: 2412 R0
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 435 of file records.hpp.

#include <records.hpp>

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

Public Field Index:

TEnum element
 The enumeration element.
 
TRecord record
 The static data 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 438 of file records.hpp.

◆ record

template<typename TEnum , typename TEnableIf >
TRecord record

The static data record.

Definition at line 441 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 449 of file records.hpp.


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