Remove numElements starting at dstIndex from this array.
Declared in <bdlc_compactedarray.h>
void
remove(
std::size_t dstIndex,
std::size_t numElements);
Remove from this array the specified numElements starting at the specified dstIndex. Each element having an index greater than or equal to dstIndex + numElements before the removal is shifted down by numElements index positions. The behavior is undefined unless dstIndex + numElements <= length().
| Name | Description |
|---|---|
| dstIndex | first index to remove |
| numElements | number of elements to remove |