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

Destroys all elements in the inlined vector, setting the size to `0` and preserving capacity&period;

== Synopsis

Declared in `&lt;absl&sol;container&sol;inlined&lowbar;vector&period;h&gt;`

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


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