[#bsl-vector-00d-resize-03] = xref:bsl.adoc[bsl]::xref:bsl/vector-00d.adoc[vector]::resize :relfileprefix: ../../ :mrdocs: `resize` overloads == Synopses Declared in `<bslstl_vector.h>` Change the size of this vector to `newSize`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/vector-00d/resize-01.adoc[resize](xref:bsl/vector-00d/size_type.adoc[size_type] newSize); ---- [.small]#xref:bsl/vector-00d/resize-01.adoc[_» more..._]# Change the size of this vector. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/vector-00d/resize-09.adoc[resize]( xref:bsl/vector-00d/size_type.adoc[size_type] newSize, VALUE_TYPE const& value); ---- [.small]#xref:bsl/vector-00d/resize-09.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *newSize* | new element count for this vector | *value* | element value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#