[#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 the value at the specified `index` from this queue&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 `numElements` values beginning at the specified `index`&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;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| position of the element to remove
| *numElements*
| number of elements to remove
|===


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