[#BloombergLP-bdlc-Queue-remove-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/Queue.adoc[Queue]::remove
:relfileprefix: ../../../
:mrdocs:

`remove` overloads

== Synopses

Declared in `&lt;bdlc&lowbar;queue&period;h&gt;`

Remove from this queue the value at the specified `index`&period; All values with initial indices above `index` are shifted down by one index position&period; The behavior is undefined unless `0 &lt;&equals; index &lt; length()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/Queue/remove-08.adoc[remove](int index);
----

[.small]#xref:BloombergLP/bdlc/Queue/remove-08.adoc[_» more&period;&period;&period;_]#

Remove from this queue, beginning at the specified `index`, the specified `numElements` values&period; All values with initial indices at or above `index &plus; numElements` are shifted down by `numElements` index positions&period; The behavior is undefined unless `0 &lt;&equals; index`, `0 &lt;&equals; numElements`, and `index &plus; numElements &lt;&equals; length()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/Queue/remove-03.adoc[remove](
    int index,
    int numElements);
----

[.small]#xref:BloombergLP/bdlc/Queue/remove-03.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
