ALib C++ Framework
by
Library Version: 2511 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.

© 2013-2025 A-Worx GmbH, Germany. Published under Boost Software License.

Definition in file enumrecords.prepro.hpp.

#include "alib/alib.inl"

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 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.