23 return static_cast<ControlMode>(
static_cast<std::underlying_type_t<ControlMode>
>(left) &
24 static_cast<std::underlying_type_t<ControlMode>
>(right));
28 return static_cast<ControlMode>(
static_cast<std::underlying_type_t<ControlMode>
>(left) |
29 static_cast<std::underlying_type_t<ControlMode>
>(right));
33 return static_cast<ControlMode>(
static_cast<std::underlying_type_t<ControlMode>
>(left) ^
34 static_cast<std::underlying_type_t<ControlMode>
>(right));
38 return static_cast<ControlMode>(~static_cast<std::underlying_type_t<ControlMode>>(mode));
42 return left = left & right;
46 return left = left | right;
std::ostream & operator<<(std::ostream &ostream, ControlMode mode)
constexpr ControlMode operator|(ControlMode left, ControlMode right)
constexpr ControlMode & operator&=(ControlMode &left, ControlMode right)
constexpr ControlMode operator&(ControlMode left, ControlMode right)
constexpr ControlMode & operator|=(ControlMode &left, ControlMode right)
constexpr ControlMode operator^(ControlMode left, ControlMode right)
constexpr ControlMode operator~(ControlMode mode)