[#BloombergLP-bdlc-Queue-remove-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/Queue.adoc[Queue]::remove :relfileprefix: ../../../ :mrdocs: Remove the value at the specified `index` from this queue. == Synopsis Declared in `<bdlc_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void remove(int index); ---- == Description 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()`. == Parameters [cols="1,4"] |=== | Name| Description | *index* | position of the element to remove |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#