[#VecDeque-clear]
= xref:VecDeque.adoc[VecDeque]::clear
:relfileprefix: ../
:mrdocs:

Resize the deque to be size 0&period; The capacity will remain unchanged&period;

== Synopsis

Declared in `&lt;util&sol;vecdeque&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
clear() noexcept;
----


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