Template Function Rose::BitOps::bits#
Defined in File BitOps.h
Function Documentation#
-
template<typename Unsigned>
inline Unsigned Rose::BitOps::bits(Unsigned src, size_t least, size_t greatest)# Extract part of a value.
Extracts the bits in the range
leastthrough @greatest (inclusive) and shifts them right byleastbits. Theleastandgreatestindices must be valid forsrcas defined by mask.