BloombergLP::bdlc::BitArray::andEqual

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);
» more...

Bitwise AND a bit range from srcArray into this array.

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

Parameters

NameDescription
indexbit position to modify
valuebit value to AND at index
dstIndexstarting index in this array
srcArrayarray providing the source bits
srcIndexstarting index in srcArray
numBitsnumber of bits to AND