BloombergLP::bdlb::BitUtil::numBitsSet

Same as the unsigned int overload.

Synopsis

Declared in <bdlb_bitutil.h>

static
int
numBitsSet(unsigned long long value);

Return Value

number of 1 bits in value

Parameters

NameDescription
valuevalue whose set bits are counted