ALib C++ Framework
by
Library Version: 2605 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
enumrecords.prepro.hpp
Go to the documentation of this file.
1//==================================================================================================
2/// \file
3/// This header-file is part of the \aliblong.
4///
5/// Copyright 2013-2026 A-Worx GmbH, Germany.
6/// Published under #"mainpage_license".
7//==================================================================================================
8#ifndef HPP_ALIB_ENUMRECORDS_PP
9#define HPP_ALIB_ENUMRECORDS_PP
10#pragma once
11#ifndef HPP_ALIB
12# include "alib/alib.prepro.hpp"
13#endif
14#if ALIB_ENUMRECORDS
15
16//##################################################################################################
17// Macro introduced by module ALib.Enums
18//##################################################################################################
19#define ALIB_ENUMS_ASSIGN_RECORD( TEnum, TRecord ) \
20namespace alib::enumrecords { \
21template<> struct RecordsTraits<TEnum> { using Type= TRecord; }; }
22
23#endif
24#endif // HPP_ALIB_ENUMRECORDS_PP