[#BloombergLP-bdlat_ArrayFunctions-bdlat_arrayReserve-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ArrayFunctions.adoc[bdlat&lowbar;ArrayFunctions]::bdlat&lowbar;arrayReserve
:relfileprefix: ../../
:mrdocs:

Reserve capacity for the specified `array` to hold at least the specified `numElements` elements&period;

== Synopsis

Declared in `&lt;bdlat&lowbar;arrayfunctions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TYPE,
    class ALLOC&gt;
int
bdlat&lowbar;arrayReserve(
    xref:bsl/vector-00d.adoc[bsl::vector&lt;TYPE, ALLOC&gt;]* array,
    int numElements);
----


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