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 |
template<typename TEnum > | |
constexpr TEnum | operator%= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator* (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator*= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator+ (TEnum arg) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator+ (TEnum lhs, TEnum rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator+ (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator++ (TEnum &arg) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator++ (TEnum &arg, typename std::underlying_type< TEnum >::type) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator+= (TEnum &lhs, TEnum rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator+= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator- (TEnum arg) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator- (TEnum lhs, TEnum rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator- (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator-- (TEnum &arg) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator-- (TEnum &arg, typename std::underlying_type< TEnum >::type) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator-= (TEnum &lhs, TEnum rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator-= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator/ (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator/= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr bool | operator< (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator<< (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator<<= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr bool | operator<= (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr bool | operator> (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr bool | operator>= (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator>> (TEnum lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
template<typename TEnum > | |
constexpr TEnum | operator>>= (TEnum &lhs, typename std::underlying_type< TEnum >::type rhs) noexcept |
|
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 622 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 645 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 531 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 554 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 488 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 222 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 244 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 310 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 331 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 267 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 289 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 508 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 355 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 378 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 443 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 465 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 400 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 422 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 576 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 599 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 124 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 664 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 686 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 147 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 174 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 199 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 713 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 735 of file arithmetical.hpp.