Template Function Rose::BitOps::lowMask#
Defined in File BitOps.h
Function Documentation#
-
template<typename Unsigned>
inline Unsigned Rose::BitOps::lowMask(size_t n)# Generate a value with low order bits set.
Returns a value whose
nlow-order bits are set and all the other higher order bits are cleared. Ifnis greater than or equal to the size of the unsigned type then the returned value has all bits set. Ifnis zero then no bits are set in the return value.