| 921 | namespace bitwise { |
| 922 | template <typename Enum> |
| 923 | static inline base::type::EnumType And(Enum e, base::type::EnumType flag) { |
| 924 | return static_cast<base::type::EnumType>(flag) & static_cast<base::type::EnumType>(e); |
| 925 | } |
| 926 | template <typename Enum> |
| 927 | static inline base::type::EnumType Not(Enum e, base::type::EnumType flag) { |
| 928 | return static_cast<base::type::EnumType>(flag) & ~(static_cast<base::type::EnumType>(e)); |
nothing calls this directly
no outgoing calls
no test coverage detected