[#absl-InlinedVector-shrink_to_fit] = xref:absl.adoc[absl]::xref:absl/InlinedVector.adoc[InlinedVector]::shrink_to_fit :relfileprefix: ../../ :mrdocs: Attempts to reduce memory usage by moving elements to (or keeping elements in) the smallest available buffer sufficient for containing `size()` elements. == Synopsis Declared in `<absl/container/inlined_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void shrink_to_fit(); ---- == Description If `size()` is sufficiently small, the elements will be moved into (or kept in) the inlined space. [.small]#Created with https://www.mrdocs.com[MrDocs]#