[#BloombergLP-bdlcc-TimeQueue-09c-removeAll]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/TimeQueue-09c.adoc[TimeQueue]::removeAll
:relfileprefix: ../../../
:mrdocs:

Remove all the items from this queue&period; Optionally specify a `removedItems` vector in which to load the removed items&period; The resultant items in the `buffer` are ordered by increasing time interval&semi; items of equivalent time interval have arbitrary ordering&period; Note that the allocator of the `removedItems` vector is used to supply memory&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;timequeue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
removeAll(xref:bsl/vector-00d.adoc[bsl::vector&lt;TimeQueueItem&lt;DATA&gt;&gt;]* removedItems = 0);
----


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