ALib C++ Framework
by
Library Version: 2605 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
enumrecords.prepro.hpp File Reference

Description:

This header-file is part of the ALib C++ Framework.

Copyright 2013-2026 A-Worx GmbH, Germany. Published under License.

Definition in file enumrecords.prepro.hpp.

Include dependency graph for enumrecords.prepro.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ALIB_ENUMS_ASSIGN_RECORD(TEnum, TRecord)

Macro Definition Documentation

◆ ALIB_ENUMS_ASSIGN_RECORD

#define ALIB_ENUMS_ASSIGN_RECORD ( TEnum,
TRecord )
Value:
namespace alib::enumrecords { \
template<> struct RecordsTraits<TEnum> { using Type= TRecord; }; }

Macro used to specialize the type trait RecordsTraits<TEnum> to associate C++ enumeration type TEnum with ALib Enum Records of type TRecord.

Parameters
TEnumThe enumeration type to define data records for.
TRecordThe type of the data record to assign.

Definition at line 19 of file enumrecords.prepro.hpp.