ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Fields | Public Methods | List of all members
EnumRecords< TEnum, TEnableIf >::Initializer Struct Reference

#include <records.hpp>

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

Class Description

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

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

Definition at line 466 of file records.hpp.

Public Fields

TEnum element
 
TRecord record
 

Public Methods

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

Constructor & Destructor Documentation

◆ Initializer()

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 482 of file records.hpp.

Member Data Documentation

◆ element

TEnum element

The enumeration element.

Definition at line 469 of file records.hpp.

◆ record

TRecord record

The static data record.

Definition at line 472 of file records.hpp.


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