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

`removeAll` overloads

== Synopses

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

If the optionally specified `buffer` is non&hyphen;zero, append all the elements from this container to `&ast;buffer` in the same order, then, regardless of whether `buffer` is zero, clear this container&period; Note that the previous contents of `&ast;buffer` are not discarded &hyphen;&hyphen; the removed items are appended to it&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/Deque/removeAll-00.adoc[removeAll]();
----

[.small]#xref:BloombergLP/bdlcc/Deque/removeAll-00.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, appending removed items to `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/Deque/removeAll-0e.adoc[removeAll](xref:bsl/vector-00d.adoc[bsl::vector&lt;TYPE&gt;]* buffer);
----

[.small]#xref:BloombergLP/bdlcc/Deque/removeAll-0e.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, appending removed items to `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/Deque/removeAll-08.adoc[removeAll](std::pmr::vector&lt;TYPE&gt;* buffer);
----

[.small]#xref:BloombergLP/bdlcc/Deque/removeAll-08.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, appending removed items to `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/Deque/removeAll-0a.adoc[removeAll](std::vector&lt;TYPE&gt;* buffer);
----

[.small]#xref:BloombergLP/bdlcc/Deque/removeAll-0a.adoc[_» more&period;&period;&period;_]#


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