[#absl-InlinedVector-resize-08] = xref:absl.adoc[absl]::xref:absl/InlinedVector.adoc[InlinedVector]::resize :relfileprefix: ../../ :mrdocs: `resize` overloads == Synopses Declared in `<absl/container/inlined_vector.h>` Resizes the inlined vector to contain `n` elements. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/InlinedVector/resize-0b.adoc[resize](xref:absl/InlinedVector/size_type.adoc[size_type] n); ---- [.small]#xref:absl/InlinedVector/resize-0b.adoc[_» more..._]# Overload of `InlinedVector::resize(...)` that resizes the inlined vector to contain `n` elements. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:absl/InlinedVector/resize-04.adoc[resize]( xref:absl/InlinedVector/size_type.adoc[size_type] n, xref:absl/InlinedVector/const_reference.adoc[const_reference] v); ---- [.small]#xref:absl/InlinedVector/resize-04.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *n* | The new number of elements. | *v* | The value to copy into any new elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#