Operators available to elements of enumerations if T_EnumIsArithmetical is specialized.
Function Index: | |
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) |
|
constexprnoexcept |
Modulo operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 672 of file arithmetical.hpp.
|
constexprnoexcept |
Modulo assignment operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
[in,out] | lhs | Reference to the first operand. Receives the result. |
rhs | Second operand. |
Definition at line 697 of file arithmetical.hpp.
|
constexprnoexcept |
Multiplication operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 573 of file arithmetical.hpp.
|
constexprnoexcept |
Multiplication assignment operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
[in,out] | lhs | Reference to the first operand. Receives the result. |
rhs | Second operand. |
Definition at line 598 of file arithmetical.hpp.
|
constexprnoexcept |
Unary plus operator for enum elements.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
arg | Operand. |
Definition at line 526 of file arithmetical.hpp.
|
constexprnoexcept |
Add operator between two enum elements.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 236 of file arithmetical.hpp.
|
constexprnoexcept |
Add operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 260 of file arithmetical.hpp.
|
constexprnoexcept |
Prefix increment operator.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
[in,out] | arg | Reference to the enum value to be incremented. |
Definition at line 332 of file arithmetical.hpp.
|
constexprnoexcept |
Postfix increment operator.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
[in,out] | arg | Reference to the enum value to be incremented. |
Definition at line 355 of file arithmetical.hpp.
|
constexprnoexcept |
Add assignment operator between two enum elements.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 285 of file arithmetical.hpp.
|
constexprnoexcept |
Add assignment operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
[in,out] | lhs | Reference to the first operand. Receives the result. |
TEnum | Enumeration type. |
rhs | Second operand. |
Definition at line 309 of file arithmetical.hpp.
|
constexprnoexcept |
Unary minus operator for enum elements.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
arg | Operand. |
Definition at line 548 of file arithmetical.hpp.
|
constexprnoexcept |
Subtract operator between two enum elements.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 381 of file arithmetical.hpp.
|
constexprnoexcept |
Subtract operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 406 of file arithmetical.hpp.
|
constexprnoexcept |
Prefix decrement operator.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
[in,out] | arg | Reference to the enum value to be decremented. |
Definition at line 477 of file arithmetical.hpp.
|
constexprnoexcept |
Postfix decrement operator.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
[in,out] | arg | Reference to the enum value to be decremented. |
Definition at line 501 of file arithmetical.hpp.
|
constexprnoexcept |
Subtract assignment operator between two enum elements.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 430 of file arithmetical.hpp.
|
constexprnoexcept |
Subtract assignment operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
[in,out] | lhs | Reference to the first operand. Receives the result. |
rhs | Second operand. |
Definition at line 454 of file arithmetical.hpp.
|
constexprnoexcept |
Division operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 622 of file arithmetical.hpp.
|
constexprnoexcept |
Division assignment operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
[in,out] | lhs | Reference to the first operand. Receives the result. |
rhs | Second operand. |
Definition at line 647 of file arithmetical.hpp.
|
constexprnoexcept |
Comparison operator less between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 130 of file arithmetical.hpp.
|
constexprnoexcept |
Shift-left operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 718 of file arithmetical.hpp.
|
constexprnoexcept |
Shift-left assignment operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
[in,out] | lhs | Reference to the first operand. Receives the result. |
rhs | Second operand. |
Definition at line 742 of file arithmetical.hpp.
|
constexprnoexcept |
Comparison operator less or equal between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 155 of file arithmetical.hpp.
|
constexprnoexcept |
Comparison operator greater between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 184 of file arithmetical.hpp.
|
constexprnoexcept |
Comparison operator greater or equal between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 211 of file arithmetical.hpp.
|
constexprnoexcept |
Shift-right operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
lhs | First operand. |
rhs | Second operand. |
Definition at line 771 of file arithmetical.hpp.
|
constexprnoexcept |
Shift-right assignment operator between an enum element and an integral value of underlying type.
Selected by the compiler only if T_EnumIsArithmetical is specialized for template enum type TEnum to inherit std::true_type
.
TEnum | Enumeration type. |
[in,out] | lhs | Reference to the first operand. Receives the result. |
rhs | Second operand. |
Definition at line 795 of file arithmetical.hpp.