[#BloombergLP-bdlat_ArrayFunctions-bdlat_arraySupportsReserve-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ArrayFunctions.adoc[bdlat&lowbar;ArrayFunctions]::bdlat&lowbar;arraySupportsReserve
:relfileprefix: ../../
:mrdocs:

Return `true` if the specified `array` supports the `reserve` method&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;
bool
bdlat&lowbar;arraySupportsReserve(xref:bsl/vector-00d.adoc[bsl::vector&lt;TYPE, ALLOC&gt;] const& array);
----

== Return Value

`true` if `array` supports `reserve`, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *array*
| array to query for reserve support
|===


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