Remove numBits bits beginning at index, shifting higher bits down.
Declared in <bdlc_bitarray.h>
void
remove(
std::size_t index,
std::size_t numBits);
Remove from this array the specified numBits, beginning at the specified index. All values at indices above index in this array are shifted down by numBits positions. The length of this array is reduced by numBits. The behavior is undefined unless index + numBits <= length().
| Name | Description |
|---|---|
| index | starting bit position to remove |
| numBits | number of bits to remove |