numTrailingUnsetBits overloads

Synopses

Declared in <bdlb_bitutil.h>

Return the number of consecutive 0 bits starting from the least‐significant bit in the specified value.

static
int
numTrailingUnsetBits(unsigned int value);

Same as the unsigned int overload.

static
int
numTrailingUnsetBits(unsigned long value);

Same as the unsigned int overload.

static
int
numTrailingUnsetBits(unsigned long long value);

Return Value

number of consecutive trailing 0 bits in value

Parameters

Name

Description

value

value whose trailing unset bits are counted

Created with MrDocs