[#absl-InlinedVector-resize-0b] = xref:absl.adoc[absl]::xref:absl/InlinedVector.adoc[InlinedVector]::resize :relfileprefix: ../../ :mrdocs: Resizes the inlined vector to contain `n` elements. == Synopsis Declared in `<absl/container/inlined_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void resize(xref:absl/InlinedVector/size_type.adoc[size_type] n); ---- == Description NOTE: If `n` is smaller than `size()`, extra elements are destroyed. If `n` is larger than `size()`, new elements are value‐initialized. == Parameters [cols="1,4"] |=== | Name| Description | *n* | The new number of elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#