[#BloombergLP-bdlat_ArrayFunctions-bdlat_arrayReserve-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ArrayFunctions.adoc[bdlat_ArrayFunctions]::bdlat_arrayReserve :relfileprefix: ../../ :mrdocs: Reserve capacity for the specified `array` to hold at least the specified `numElements` elements. == Synopses Declared in `<bdlat_arrayfunctions.h>` Reserve capacity for the specified `array` to hold at least the specified `numElements` elements. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int xref:BloombergLP/bdlat_ArrayFunctions/bdlat_arrayReserve-03.adoc[bdlat_arrayReserve]( TYPE* array, int numElements); ---- [.small]#xref:BloombergLP/bdlat_ArrayFunctions/bdlat_arrayReserve-03.adoc[_» more..._]# Reserve capacity for the specified `array` to hold at least the specified `numElements` elements. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class ALLOC> int xref:BloombergLP/bdlat_ArrayFunctions/bdlat_arrayReserve-01.adoc[bdlat_arrayReserve]( xref:bsl/vector-00d.adoc[bsl::vector<TYPE, ALLOC>]* array, int numElements); ---- [.small]#xref:BloombergLP/bdlat_ArrayFunctions/bdlat_arrayReserve-01.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#