[#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. == Synopsis Declared in `<absl/container/inlined_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void clear() noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#