libzypp
10.5.0
|
A single 1-bit within a Range. More...
#include <Bit.h>
Public Types | |
typedef _Range | RangeT |
typedef _Range::IntT | IntT |
Static Public Attributes | |
static const IntT | value = IntT(1) << (RangeT::begin + _pos) |
A single 1-bit within a Range.
typedef Range<char,2,3> SubField; // bits 2,3,4 in a char field SubField::Mask::value; // 00011100 RangeBit<SubField,0>::value; // 00000100 RangeBit<SubField,1>::value; // 00001000 RangeBit<SubField,2>::value; // 00010000
typedef _Range zypp::bit::RangeBit< _Range, _pos >::RangeT |
typedef _Range::IntT zypp::bit::RangeBit< _Range, _pos >::IntT |
const IntT zypp::bit::RangeBit< _Range, _pos >::value = IntT(1) << (RangeT::begin + _pos) [static] |