[#BloombergLP-bdlc-Queue-remove-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/Queue.adoc[Queue]::remove :relfileprefix: ../../../ :mrdocs: 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()`. == Synopsis Declared in `<bdlc_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void remove( int index, int numElements); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#