Circus 0.0.1-alpha
C++ Serialization Framework
|
Provides a type-safe wrapper for enum flags with bitwise operations. More...
Go to the source code of this file.
Classes | |
class | circus::utils::enum_flag< T > |
A utility class for strongly typed enum flags with bitwise operations. More... |
Functions | |
template<typename E> requires circus::traits::Flaggable<E> | |
constexpr E | operator| (E lhs, E rhs) |
Bitwise OR operator for enum types flagged by circus::traits::Flaggable. | |
template<typename E> requires circus::traits::Flaggable<E> | |
constexpr E | operator& (E lhs, E rhs) |
Bitwise AND operator for enum types flagged by circus::traits::Flaggable. | |
template<typename E> requires circus::traits::Flaggable<E> | |
constexpr E | operator~ (E val) |
Bitwise NOT operator for enum types flagged by circus::traits::Flaggable. |
Provides a type-safe wrapper for enum flags with bitwise operations.
|
constexpr |
Bitwise AND operator for enum types flagged by circus::traits::Flaggable.
E | Enum type. |
lhs | Left operand. |
rhs | Right operand. |
|
constexpr |
Bitwise OR operator for enum types flagged by circus::traits::Flaggable.
E | Enum type. |
lhs | Left operand. |
rhs | Right operand. |
|
constexpr |
Bitwise NOT operator for enum types flagged by circus::traits::Flaggable.
E | Enum type. |
val | Operand. |