| 58 | |
| 59 | template<typename MaskType, typename EnumType> |
| 60 | constexpr MaskType AsBit(EnumType e) noexcept |
| 61 | { |
| 62 | return MaskType{ 1 } << static_cast<MaskType>(e); |
| 63 | } |
| 64 | |
| 65 | template<typename MaskType, typename EnumType> |
| 66 | constexpr MaskType AsMask(std::initializer_list<EnumType> bits) noexcept |
nothing calls this directly
no outgoing calls
no test coverage detected