BloombergLP::bdlb::BitUtil::withBitCleared

withBitCleared overloads

Synopses

Declared in <bdlb_bitutil.h>

Return the result of replacing the bit at the specified index in the specified value with 0, transferring all other bits from value unchanged. The behavior is undefined unless 0 <= index < sizeInBits(value).

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...