BloombergLP::bdlb::BitStringUtil::find0AtMinIndex

find0AtMinIndex overloads

Synopses

Declared in <bdlb_bitstringutil.h>

Return the index of the least-significant 0 bit in bitString.

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

Return the index of the least-significant 0 bit in a range.

static
std::size_t
find0AtMinIndex(
    uint64_t const* bitString,
    std::size_t begin,
    std::size_t end);
» more...

Return Value

index of the least-significant 0 bit, or k_INVALID_INDEX

Parameters

NameDescription
bitStringbit string to search
lengthnumber of bits in bitString
begininclusive start of the search range
endexclusive end of the search range