andEqual overloads

Synopses

Declared in <bdlc_bitarray.h>

AND the bit at the specified index in this array with the specified value (retaining the result). The behavior is undefined unless index < length().

void
andEqual(
    std::size_t index,
    bool value);

Bitwise AND the specified numBits in this array, beginning at the specified dstIndex, with values from the specified srcArray, beginning at the specified srcIndex (retaining the results). The behavior is undefined unless dstIndex + numBits <= length() and srcIndex + numBits <= srcArray.length().

void
andEqual(
    std::size_t dstIndex,
    BitArray const& srcArray,
    std::size_t srcIndex,
    std::size_t numBits);

Created with MrDocs