Template Function IntegerOps::shl1

Template Function IntegerOps::shl1#

Function Documentation#

template<typename T>
inline T IntegerOps::shl1(size_t n)#

Bitmask with bit n set.

Handles the case where n is greater than the width of type T.