MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / And

Function And

include/thundersvm/util/log.h:923–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected