Go to the source code of this file.
◆ CE_FLAGS_OPERATORS
Defines global operators for a Flags<Enum, Storage> implementation.
◆ CE_FLAGS_OPERATORS_EXT
| #define CE_FLAGS_OPERATORS_EXT |
( |
|
Enum, |
|
|
|
Storage |
|
) |
| |
Value: [[nodiscard]] inline constexpr Flags<Enum, Storage> operator|(Enum a, Enum b) noexcept { \
Flags<Enum, Storage> r(a); \
r |= b; \
return r; \
} \
\
[[nodiscard]] inline constexpr Flags<Enum, Storage> operator&(Enum a, Enum b) noexcept { \
Flags<Enum, Storage> r(a); \
r &= b; \
return r; \
} \
\
[[nodiscard]]
inline constexpr Flags<Enum, Storage>
operator~(Enum a)
noexcept {
return ~Flags<Enum, Storage>(a); }
constexpr Byte operator~(const Byte arg) noexcept
Definition DataTypes.hpp:75
Defines global operators for a Flags<Enum, Storage> implementation.