|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
constexpr bool | operator! (ENUM a) |
| Boolean "not" operator on enumeration types. More...
|
|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
constexpr ENUM | operator& (ENUM a, ENUM b) |
| Bitmask "and" operator on enumeration types. More...
|
|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
ENUM & | operator&= (ENUM &a, ENUM b) |
| Bitmask "assign and" operator on enumeration types. More...
|
|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
constexpr ENUM | operator<< (ENUM a, size_t b) |
| Bitmask "left shift" operator on enumeration types. More...
|
|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
ENUM & | operator<<= (ENUM &a, size_t b) |
| Bitmask "assign left shift" operator on enumeration types. More...
|
|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
constexpr ENUM | operator>> (ENUM a, size_t b) |
| Bitmask "right shift" operator on enumeration types. More...
|
|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
ENUM & | operator>>= (ENUM &a, size_t b) |
| Bitmask "assign right shift" operator on enumeration types. More...
|
|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
constexpr ENUM | operator^ (ENUM a, ENUM b) |
| Bitmask "xor" operator on enumeration types. More...
|
|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
ENUM & | operator^= (ENUM &a, ENUM b) |
| Bitmask "assign xor" operator on enumeration types. More...
|
|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
constexpr ENUM | operator| (ENUM a, ENUM b) |
| Bitmask "or" operator on enumeration types. More...
|
|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
ENUM & | operator|= (ENUM &a, ENUM b) |
| Bitmask "assign or" operator on enumeration types. More...
|
|
template<typename ENUM , typename std::enable_if< std::is_enum< ENUM >::value &&ts::EnableBitMaskOperators< ENUM >::value >::type * = nullptr> |
constexpr ENUM | operator~ (ENUM a) |
| Bitmask "not" unary operator on enumeration types. More...
|
|
Some utilities on enumeration types.