[#bsl-deque-0c-resize-04]
= xref:bsl.adoc[bsl]::xref:bsl/deque-0c.adoc[deque]::resize
:relfileprefix: ../../
:mrdocs:

`resize` overloads

== Synopses

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

Change this deque&apos;s size to `newSize`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/deque-0c/resize-02.adoc[resize](xref:bsl/deque-0c/size_type.adoc[size&lowbar;type] newSize);
----

[.small]#xref:bsl/deque-0c/resize-02.adoc[_» more&period;&period;&period;_]#

Change this deque&apos;s size to `newSize`, using `value` for new elements&period;


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

[.small]#xref:bsl/deque-0c/resize-01.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *newSize*
| desired number of elements
| *value*
| value used when appending new elements
|===


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