[#VecDeque-shrink_to_fit]
= xref:VecDeque.adoc[VecDeque]::shrink&lowbar;to&lowbar;fit
:relfileprefix: ../
:mrdocs:

Make the capacity equal to the size&period; The contents does not change&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
shrink&lowbar;to&lowbar;fit();
----


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