This header file is part of module ALib Enums of the ALib C++ Library .
© 2013-2024 A-Worx GmbH, Germany. Published under Boost Software License.
Definition in file arithmetical.hpp.
Go to the source code of this file.
Classes | |
struct | T_EnumIsArithmetical< TEnum, TEnableIf > |
Namespaces | |
namespace | alib |
namespace | alib::enums |
namespace | alib::enums::arithmetical |
Macros | |
ALib Module Enums | |
The macros in this section are introduced by module ALib Enums and allow to specialize type-traits structs T_EnumRecords , T_EnumIsArithmetical , T_EnumIsBitwise and T_EnumIsIterable for scoped or non-scoped enum types.
| |
#define | ALIB_ENUMS_MAKE_ARITHMETICAL(TEnum) |
Typedefs | |
template<typename TEnum > | |
using | T_EnumIsArithmetical = enums::T_EnumIsArithmetical<TEnum> |
Type alias in namespace alib. | |
Functions | |
template<typename TEnum > | |
constexpr TEnum | operator% (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator%= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator* (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator*= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator+ (TEnum arg) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator+ (TEnum lhs, TEnum rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator+ (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator++ (TEnum &arg) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator++ (TEnum &arg, int) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator+= (TEnum &lhs, TEnum rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator+= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator- (TEnum arg) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator- (TEnum lhs, TEnum rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator- (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator-- (TEnum &arg) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator-- (TEnum &arg, int) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator-= (TEnum &lhs, TEnum rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator-= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator/ (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator/= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr bool | operator< (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator<< (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator<<= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr bool | operator<= (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr bool | operator> (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr bool | operator>= (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator>> (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |
template<typename TEnum > | |
constexpr TEnum | operator>>= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept(true) |