Helper-struct used with bulk-initialization function Bootstrap(std::initializer_list).
TEnum | The enum type to define records for. |
Definition at line 18 of file recordbootstrap.inl.
Public Type Index: | |
using | TRecord = typename RecordsTraits<TEnum>::Type |
The enum's associated record type. | |
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 | |
using alib::enumrecords::bootstrap::Initializer< TEnum >::TRecord = typename RecordsTraits<TEnum>::Type |
The enum's associated record type.
Definition at line 20 of file recordbootstrap.inl.
TEnum alib::enumrecords::bootstrap::Initializer< TEnum >::element |
The enumeration element.
Definition at line 23 of file recordbootstrap.inl.
TRecord alib::enumrecords::bootstrap::Initializer< TEnum >::record |
The static data record.
Definition at line 26 of file recordbootstrap.inl.
|
inlinenoexcept |
Constructor taking variadic template arguments to construct the record.
TArgs | Types of the variadic arguments args. |
elem | The enum element. |
args | Variadic arguments forwarded to constructor of field record. |
Definition at line 34 of file recordbootstrap.inl.