BloombergLP::bdlb::BitUtil::isBitSet

isBitSet overloads

Synopses

Declared in <bdlb_bitutil.h>

Return true if the bit in the specified value at the specified index is set to 1, and false otherwise. The behavior is undefined unless 0 <= index < sizeInBits(value).

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

Same as the unsigned int overload.

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

Same as the unsigned int overload.

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