60 return a.bits == b.bits;
64 return a.bits != b.bits;
Definition flag_type.hpp:6
Generic struct for flag types.
Definition flag_type.hpp:15
friend constexpr flag_type operator&(flag_type a, flag_type b) noexcept
Definition flag_type.hpp:29
constexpr flag_type()=default
friend constexpr bool operator!=(flag_type a, flag_type b) noexcept
Definition flag_type.hpp:62
constexpr flag_type(storage_t b)
Definition flag_type.hpp:20
friend constexpr flag_type operator~(flag_type f) noexcept
Definition flag_type.hpp:24
friend constexpr flag_type operator^(flag_type a, flag_type b) noexcept
Definition flag_type.hpp:37
std::underlying_type_t< E > storage_t
Definition flag_type.hpp:16
friend constexpr bool operator==(flag_type a, flag_type b) noexcept
Definition flag_type.hpp:58
constexpr flag_type & operator|=(flag_type other) noexcept
Definition flag_type.hpp:47
storage_t bits
Definition flag_type.hpp:17
constexpr flag_type & operator&=(flag_type other) noexcept
Definition flag_type.hpp:42
friend constexpr flag_type operator|(flag_type a, flag_type b) noexcept
Definition flag_type.hpp:33
constexpr flag_type & operator^=(flag_type other) noexcept
Definition flag_type.hpp:52