[#ClearShrink]
= ClearShrink
:mrdocs:

Clear a vector (or std&colon;&colon;deque) and release its allocated memory&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename V&gt;
void
ClearShrink(V& v) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *v*
| The container to clear and free&period;
|===


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