areEqual overloads
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);
» more...
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);
» more...
true if the compared bits are equal, and false otherwise
| 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 |