BloombergLP::bdlb::BitUtil::numLeadingUnsetBits

Same as the unsigned int overload.

Synopsis

Declared in <bdlb_bitutil.h>

static
int
numLeadingUnsetBits(unsigned long long value);

Return Value

number of consecutive leading 0 bits in value

Parameters

NameDescription
valuevalue whose leading unset bits are counted