[#bsl-list-054-resize-0e]
= xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::resize
:relfileprefix: ../../
:mrdocs:

Change the size of this list to the specified `newSize`, using the specified `value` for any appended elements&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
resize(
    xref:bsl/list-054/size_type.adoc[size&lowbar;type] newSize,
    xref:bsl/list-054/value_type.adoc[value&lowbar;type] const& value);
----


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