30 static_cast<std::underlying_type<ErrorCode>::type
>(lhs) |
31 static_cast<std::underlying_type<ErrorCode>::type
>(rhs)
42 static_cast<std::underlying_type<ErrorCode>::type
>(lhs) &
43 static_cast<std::underlying_type<ErrorCode>::type
>(rhs)
57 return (combined & specific) == specific;
The Hubris Engine main namespace.
constexpr bool operator!(ErrorCode e)
constexpr ErrorCode operator&(ErrorCode lhs, ErrorCode rhs)
constexpr ErrorCode & operator|=(ErrorCode &lhs, ErrorCode rhs)
constexpr ErrorCode & operator&=(ErrorCode &lhs, ErrorCode rhs)
constexpr bool HasError(ErrorCode combined, ErrorCode specific)
constexpr ErrorCode operator|(ErrorCode lhs, ErrorCode rhs)