ALib C++ Library
Library Version: 2510 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/// \emoji :copyright: 2013-2025 A-Worx GmbH, Germany.
6/// Published under \ref mainpage_license "Boost Software License".
7//==================================================================================================
8#ifndef HPP_ALIB_ENUMRECORDS_PP
9#define HPP_ALIB_ENUMRECORDS_PP
10#pragma once
11#ifndef INL_ALIB
12# include "alib/alib.inl"
13#endif
14#if ALIB_ENUMRECORDS
15
16// #################################################################################################
17// Symbols 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
25