Go to the source code of this file.
|
| template<Type::UnsignedEnum E> |
| constexpr E | operator| (E a, E b) noexcept |
| | Bitwise OR for unsigned scoped enumerations.
|
| template<Type::UnsignedEnum E> |
| constexpr E | operator& (E a, E b) noexcept |
| | Bitwise AND for unsigned scoped enumerations.
|
| template<Type::UnsignedEnum E> |
| constexpr E | operator^ (E a, E b) noexcept |
| | Bitwise XOR for unsigned scoped enumerations.
|
| template<Type::UnsignedEnum E> |
| constexpr E | operator~ (E a) noexcept |
| | Bitwise NOT for unsigned scoped enumerations.
|
◆ operator&()
template<Type::UnsignedEnum E>
Bitwise AND for unsigned scoped enumerations.
- Template Parameters
-
| E | Enumeration type (Type::UnsignedEnum). |
- Parameters
-
| a | Left operand. |
| b | Right operand. |
- Returns
- E with bits of
a and b.
◆ operator^()
template<Type::UnsignedEnum E>
Bitwise XOR for unsigned scoped enumerations.
- Template Parameters
-
| E | Enumeration type (Type::UnsignedEnum). |
- Parameters
-
| a | Left operand. |
| b | Right operand. |
- Returns
- E with bits of
a xor b.
◆ operator|()
template<Type::UnsignedEnum E>
Bitwise OR for unsigned scoped enumerations.
- Template Parameters
-
| E | Enumeration type (Type::UnsignedEnum). |
- Parameters
-
| a | Left operand. |
| b | Right operand. |
- Returns
- E with bits of
a or b.
◆ operator~()
template<Type::UnsignedEnum E>
Bitwise NOT for unsigned scoped enumerations.
- Template Parameters
-
| E | Enumeration type (Type::UnsignedEnum). |
- Parameters
-
- Returns
- E with bits of
a inverted.