Return the index of the most-significant 1 bit in bitString.
Declared in <bdlb_bitstringutil.h>
static
std::size_t
find1AtMaxIndex(
uint64_t const* bitString,
std::size_t length);
Return the index of the most-significant 1 bit in the specified bitString having the specified length, if such a bit exists, and k_INVALID_INDEX otherwise.
index of the most-significant 1 bit, or k_INVALID_INDEX
| Name | Description |
|---|---|
| bitString | bit string to search |
| length | number of bits in bitString |