remove overloads

Synopses

Declared in <bdlc_queue.h>

Remove from this queue the value at the specified index. All values with initial indices above index are shifted down by one index position. The behavior is undefined unless 0 <= index < length().

void
remove(int index);

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

void
remove(
    int index,
    int numElements);

Created with MrDocs