isBitSet overloads
Declared in <bdlb_bitutil.h>
Return whether the bit at index in value is set.
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...
true if the bit is set, and false otherwise
| Name | Description |
|---|---|
| value | value to inspect |
| index | bit position to test |