Remove numElements values beginning at the specified index.

Synopsis

Declared in <bdlc_queue.h>

void
remove(
    int index,
    int numElements);

Description

Remove from this queue, beginning at the specified index, the specified numElements values. All values with initial indices at or above index + numElements are shifted down by numElements index positions. The behavior is undefined unless 0 <= index, 0 <= numElements, and index + numElements <= length().

Parameters

Name

Description

index

first index of the range to remove

numElements

number of elements to remove

Created with MrDocs