ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Types | List of all members
T_EnumRecords< TEnum, TEnableIf > Struct Template Reference

#include <records.hpp>

Class Description

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


This TMP struct is used to associate an "ALib Enum Record" type to a (non-scoped or C++ 11 scoped) enumeration type.

In the non-specialized version type definition Type (the only entity of this struct) evaluates to void. To assign a record, specify a data record type, similar to what is prototyped with EnumRecordPrototype

See also
Please consult chapter 4. Enum Records of the Programmer's Manual of ALib Enums for detailed documentation and sample code on this struct and underlying concept.
Macro ALIB_ENUMS_ASSIGN_RECORD offers a well readable alternative to specialize this struct for an enum type.
Template Parameters
TEnumThe enumeration type this struct applies to.
TEnableIfInternally used to ensure that given type TEnum is an enumeration. Defaulted. Please do not specify!

Definition at line 126 of file records.hpp.

Public Types

using Type = void
 

Member Typedef Documentation

◆ Type

using Type = void

The data type associated with elements of TEnum.

Definition at line 129 of file records.hpp.


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