Template Function IntegerOps::bitmask_subset

Template Function IntegerOps::bitmask_subset#

Function Documentation#

template<typename T>
inline bool IntegerOps::bitmask_subset(T m1, T m2)#

Determines if one bitmask is a subset of another.

Returns true if the bits set in the first argument form a subset of the bits set in the second argument.