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

Description:

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

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

Definition in file enumops.prepro.hpp.

#include "alib/alib.inl"
Include dependency graph for enumops.prepro.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

ALib Module Enums

The macros in this section are introduced by modules ALib EnumOps and ALib EnumRecords. They allow specializing the following type traits for scoped or non-scoped enum types: RecordsTraits, ArithmeticalTraits, BitwiseTraits and IterableTraits

Attention
  • All macros in this section have to be placed in global scope (outside namespaces and types).
  • For technical reasons, neither the macros nor the concepts behind them are applicable to enum types that are defined as private or protected inner types of structs or classes.
#define ALIB_ENUMS_MAKE_ARITHMETICAL(TEnum)
 
#define ALIB_ENUMS_MAKE_BITWISE(TEnum)
 
#define ALIB_ENUMS_MAKE_ITERABLE(TEnum, StopElement)
 
#define ALIB_ENUMS_MAKE_ITERABLE_BEGIN_END(TEnum, StartElement, StopElement)