The FlagEnumClassOperations namespace contains operations for flag enums.
More...
|
template<typename FlagEnumClass , Traits::EnableIf< IsFlagEnumClass< FlagEnumClass > > * = nullptr> |
constexpr FlagEnumClass | operator| (FlagEnumClass lhs, FlagEnumClass rhs) |
|
template<typename FlagEnumClass , Traits::EnableIf< IsFlagEnumClass< FlagEnumClass > > * = nullptr> |
constexpr bool | operator& (FlagEnumClass lhs, FlagEnumClass rhs) |
|
template<typename FlagEnumClass , Traits::EnableIf< IsFlagEnumClass< FlagEnumClass > > * = nullptr> |
constexpr bool | operator&& (FlagEnumClass lhs, FlagEnumClass rhs) |
|
template<typename FlagEnumClass , Traits::EnableIf< IsFlagEnumClass< FlagEnumClass > > * = nullptr> |
constexpr FlagEnumClass & | operator|= (FlagEnumClass &lhs, FlagEnumClass rhs) |
|
template<typename FlagEnumClass , Traits::EnableIf< IsFlagEnumClass< FlagEnumClass > > * = nullptr> |
constexpr FlagEnumClass & | operator+= (FlagEnumClass &lhs, FlagEnumClass rhs) |
|
template<typename FlagEnumClass , Traits::EnableIf< IsFlagEnumClass< FlagEnumClass > > * = nullptr> |
constexpr FlagEnumClass & | operator-= (FlagEnumClass &lhs, FlagEnumClass rhs) |
|
The FlagEnumClassOperations namespace contains operations for flag enums.
◆ operator&()
bool CppUtilities::FlagEnumClassOperations::operator& |
( |
FlagEnumClass | lhs, |
|
|
FlagEnumClass | rhs ) |
|
constexpr |
◆ operator&&()
bool CppUtilities::FlagEnumClassOperations::operator&& |
( |
FlagEnumClass | lhs, |
|
|
FlagEnumClass | rhs ) |
|
constexpr |
◆ operator+=()
FlagEnumClass & CppUtilities::FlagEnumClassOperations::operator+= |
( |
FlagEnumClass & | lhs, |
|
|
FlagEnumClass | rhs ) |
|
constexpr |
◆ operator-=()
FlagEnumClass & CppUtilities::FlagEnumClassOperations::operator-= |
( |
FlagEnumClass & | lhs, |
|
|
FlagEnumClass | rhs ) |
|
constexpr |
◆ operator|()
FlagEnumClass CppUtilities::FlagEnumClassOperations::operator| |
( |
FlagEnumClass | lhs, |
|
|
FlagEnumClass | rhs ) |
|
constexpr |
◆ operator|=()
FlagEnumClass & CppUtilities::FlagEnumClassOperations::operator|= |
( |
FlagEnumClass & | lhs, |
|
|
FlagEnumClass | rhs ) |
|
constexpr |