BloombergLP::bdlb::BitUtil::isBitSet

Same as the unsigned int overload.

Synopsis

Declared in <bdlb_bitutil.h>

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

Return Value

true if the bit is set, and false otherwise

Parameters

NameDescription
valuevalue to inspect
indexbit position to test