Remove numElements starting at dstIndex from this array.

Synopsis

Declared in <bdlc_compactedarray.h>

void
remove(
    std::size_t dstIndex,
    std::size_t numElements);

Description

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().

Parameters

Name

Description

dstIndex

first index to remove

numElements

number of elements to remove

Created with MrDocs