Bitwise MINUS a bit range from srcArray out of this array.
Declared in <bdlc_bitarray.h>
void
minusEqual(
std::size_t dstIndex,
BitArray const& srcArray,
std::size_t srcIndex,
std::size_t numBits);
Bitwise MINUS (subtract) from the specified numBits in this array, beginning at the specified dstIndex, 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(). Note that the logical difference A - B is defined to be A & !B.
| Name | Description |
|---|---|
| dstIndex | starting index in this array |
| srcArray | array providing the bits to subtract |
| srcIndex | starting index in srcArray |
| numBits | number of bits to subtract |