Lines Matching refs:bitmask
654 #define DEFINE_ENUM_FLAG_OPERATORS(bitmask) \ argument
656 inline constexpr bitmask operator&(bitmask X, bitmask Y) { \
657 return static_cast<bitmask>(static_cast<int>(X) & static_cast<int>(Y)); \
659 inline constexpr bitmask operator|(bitmask X, bitmask Y) { \
660 return static_cast<bitmask>(static_cast<int>(X) | static_cast<int>(Y)); \
662 inline constexpr bitmask operator^(bitmask X, bitmask Y) { \
663 return static_cast<bitmask>(static_cast<int>(X) ^ static_cast<int>(Y)); \
665 inline constexpr bitmask operator~(bitmask X) { \
666 return static_cast<bitmask>(~static_cast<int>(X)); \
668 inline bitmask& operator&=(bitmask& X, bitmask Y) { \
672 inline bitmask& operator|=(bitmask& X, bitmask Y) { \
676 inline bitmask& operator^=(bitmask& X, bitmask Y) { \