[#BloombergLP-bdlcc-Deque-removeAll-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Deque.adoc[Deque]::removeAll :relfileprefix: ../../../ :mrdocs: Remove all elements, appending them to `buffer`. == Synopsis Declared in `<bdlcc_deque.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void removeAll(std::pmr::vector<TYPE>* buffer); ---- == Description Append all the elements from this container to the specified `*buffer` in the same order, then clear this container. Note that the previous contents of `*buffer` are not discarded ‐‐ the removed items are appended to it. == Parameters [cols="1,4"] |=== | Name| Description | *buffer* | vector that receives the removed items |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#