[#BloombergLP-bdlat_ArrayFunctions-reserve] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ArrayFunctions.adoc[bdlat_ArrayFunctions]::reserve :relfileprefix: ../../ :mrdocs: If successful, make the capacity of the specified modifiable `array` at least the specified `numElements` and return zero. If unsuccessful or unsupported, return a non‐zero value. This method has no effect, and returns zero, if the current capacity meets or exceeds the required capacity. The behavior is undefined unless `0 <= numElements`. == Synopsis Declared in `<bdlat_arrayfunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int reserve( TYPE* array, int numElements); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#