BloombergLP::bdlb::BitUtil::numBitsSet

numBitsSet overloads

Synopses

Declared in <bdlb_bitutil.h>

Return the number of 1 bits in the specified value.

static
int
numBitsSet(unsigned int value);
» more...

Same as the unsigned int overload.

static
int
numBitsSet(unsigned long value);
» more...

Same as the unsigned int overload.

static
int
numBitsSet(unsigned long long value);
» more...