Return whether any bit in a range of bitString is 0.
Declared in <bdlb_bitstringutil.h>
static
bool
isAny0(
uint64_t const* bitString,
std::size_t index,
std::size_t numBits);
Return true if any of the specified numBits beginning at the specified index in the specified bitString are 0, and false otherwise. The behavior is undefined unless bitString has a length of at least index + numBits.
true if any examined bit is 0, and false otherwise
| Name | Description |
|---|---|
| bitString | bit string to examine |
| index | starting bit position |
| numBits | number of bits to examine |