find1AtMinIndex overloads

Synopses

Declared in <bdlb_bitstringutil.h>

Return the index of the least‐significant 1 bit in bitString.

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

Return the index of the least‐significant 1 bit in a range.

static
std::size_t
find1AtMinIndex(
    uint64_t const* bitString,
    std::size_t begin,
    std::size_t end);

Return Value

index of the least‐significant 1 bit, or k_INVALID_INDEX

Parameters

Name

Description

bitString

bit string to search

length

number of bits in bitString

begin

inclusive start of the search range

end

exclusive end of the search range

Created with MrDocs