| 141 | |
| 142 | template <typename enum_t> |
| 143 | constexpr enum_t operator|(enum_t lhs, enum_t rhs) |
| 144 | requires std::is_enum_v<enum_t> |
| 145 | { |
| 146 | using underlying_t = std::underlying_type_t<enum_t>; |
| 147 | |
| 148 | return static_cast<enum_t>(static_cast<underlying_t>(lhs) | static_cast<underlying_t>(rhs)); |
| 149 | } |
| 150 | |
| 151 | template <typename enum_t> |
| 152 | constexpr enum_t operator|=(enum_t &lhs, enum_t rhs) |
nothing calls this directly
no outgoing calls
no test coverage detected