Template Function Rose::BitOps::allLsb

Template Function Rose::BitOps::allLsb#

Function Documentation#

template<typename Unsigned>
inline Unsigned Rose::BitOps::allLsb(Unsigned src, size_t w, bool b = true)#

Set or clear the low-order

bits.

Sets or clears the low order bits of the input value without affecting any of the other bits.