[#BloombergLP-bdlc-PackedIntArrayImp-02-reserveCapacity-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArrayImp-02.adoc[PackedIntArrayImp&lt;PackedIntArrayImp&lowbar;Unsigned&gt;]::reserveCapacity
:relfileprefix: ../../../
:mrdocs:

Make the capacity of this array at least the specified `numElements` assuming the current `bytesPerElement()`&period; This method has no effect if the current capacity meets or exceeds the required capacity&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;packedintarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reserveCapacity(std::size&lowbar;t numElements);
----


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