BloombergLP::bdlb::BitUtil::numLeadingUnsetBits

numLeadingUnsetBits overloads

Synopses

Declared in <bdlb_bitutil.h>

Return the number of consecutive 0 bits starting from the most-significant bit in the specified value.

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

Same as the unsigned int overload.

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

Same as the unsigned int overload.

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