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