areEqual overloads

Synopses

Declared in <bdlb_bitstringutil.h>

Return whether the low‐order bits of two bit strings are equal.

static
bool
areEqual(
    uint64_t const* bitString1,
    uint64_t const* bitString2,
    std::size_t numBits);

Return whether corresponding bit ranges of two bit strings are equal.

static
bool
areEqual(
    uint64_t const* bitString1,
    std::size_t index1,
    uint64_t const* bitString2,
    std::size_t index2,
    std::size_t numBits);

Return Value

true if the compared bits are equal, and false otherwise

Parameters

Name

Description

bitString1

first bit string

bitString2

second bit string

numBits

number of low‐order bits to compare

index1

starting bit index in bitString1

index2

starting bit index in bitString2

Created with MrDocs