[#bsl-vector-00d-resize-03]
= xref:bsl.adoc[bsl]::xref:bsl/vector-00d.adoc[vector]::resize
:relfileprefix: ../../
:mrdocs:

`resize` overloads

== Synopses

Declared in `&lt;bslstl&lowbar;vector&period;h&gt;`

Change the size of this vector to `newSize`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/vector-00d/resize-01.adoc[resize](xref:bsl/vector-00d/size_type.adoc[size&lowbar;type] newSize);
----

[.small]#xref:bsl/vector-00d/resize-01.adoc[_» more&period;&period;&period;_]#

Change the size of this vector&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/vector-00d/resize-09.adoc[resize](
    xref:bsl/vector-00d/size_type.adoc[size&lowbar;type] newSize,
    VALUE&lowbar;TYPE const& value);
----

[.small]#xref:bsl/vector-00d/resize-09.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *newSize*
| new element count for this vector
| *value*
| element value
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
