Template Function Rose::BitOps::bit

Template Function Rose::BitOps::bit#

Function Documentation#

template<typename Unsigned>
inline bool Rose::BitOps::bit(Unsigned src, size_t i)#

Extract a single bit.

The bit at position i of the value src is returned. If i is out of range for src then zero is returned.