[#BloombergLP-bdlc-PackedIntArray-0b-reserveCapacity-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray]::reserveCapacity :relfileprefix: ../../../ :mrdocs: Make the capacity of this array at least `numElements`. == Synopsis Declared in `<bdlc_packedintarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reserveCapacity(std::size_t numElements); ---- == Description This method has no effect if the current capacity meets or exceeds the required capacity. == Parameters [cols="1,4"] |=== | Name| Description | *numElements* | minimum number of elements to reserve for |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#