[#BloombergLP-bdlar-bdlat_arrayResize]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::bdlat&lowbar;arrayResize
:relfileprefix: ../../
:mrdocs:

Set the size of the specified `array` to the specified `newSize`&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;arrayref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
bdlat&lowbar;arrayResize(
    xref:BloombergLP/bdlar/ArrayRef.adoc[ArrayRef]* array,
    int newSize);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *array*
| array reference to resize
| *newSize*
| desired number of elements
|===


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