Template Function IntegerOps::genMask(size_t, size_t)

Template Function IntegerOps::genMask(size_t, size_t)#

Function Documentation#

template<typename T>
inline T IntegerOps::genMask(size_t lobit, size_t hibit)#

Generate a bitmask.

The return value has bits lobit (inclusive) through hibit (inclusive) set, and all other bits are clear.