BloombergLP::bdlb::BitUtil::withBitCleared

withBitCleared overloads

Synopses

Declared in <bdlb_bitutil.h>

Return value with the bit at index cleared.

static
unsigned int
withBitCleared(
    unsigned int value,
    int index);
» more...

Same as the unsigned int overload.

static
unsigned long
withBitCleared(
    unsigned long value,
    int index);
» more...

Same as the unsigned int overload.

static
unsigned long long
withBitCleared(
    unsigned long long value,
    int index);
» more...

Return Value

value with the bit at index cleared

Parameters

NameDescription
valuevalue to modify
indexbit position to clear