BloombergLP::bdlb::BitStringUtil::find0AtMinIndex

Return the index of the least-significant 0 bit in the specified bitString having the specified length, if such a bit exists, and k_INVALID_INDEX otherwise.

Synopsis

Declared in <bdlb_bitstringutil.h>

static
std::size_t
find0AtMinIndex(
    uint64_t const* bitString,
    std::size_t length);