[#BloombergLP-bdlc-PackedIntArray-0b-reserveCapacity-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray]::reserveCapacity :relfileprefix: ../../../ :mrdocs: `reserveCapacity` overloads == Synopses Declared in `<bdlc_packedintarray.h>` Make the capacity of this array at least `numElements`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlc/PackedIntArray-0b/reserveCapacity-04.adoc[reserveCapacity](std::size_t numElements); ---- [.small]#xref:BloombergLP/bdlc/PackedIntArray-0b/reserveCapacity-04.adoc[_» more..._]# Reserve capacity for `numElements` with values up to `maxValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlc/PackedIntArray-0b/reserveCapacity-0e.adoc[reserveCapacity]( std::size_t numElements, TYPE maxValue); ---- [.small]#xref:BloombergLP/bdlc/PackedIntArray-0b/reserveCapacity-0e.adoc[_» more..._]# Reserve capacity for `numElements` in `[minValue, maxValue]`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlc/PackedIntArray-0b/reserveCapacity-0f.adoc[reserveCapacity]( std::size_t numElements, TYPE minValue, TYPE maxValue); ---- [.small]#xref:BloombergLP/bdlc/PackedIntArray-0b/reserveCapacity-0f.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *numElements* | minimum number of elements to reserve for | *maxValue* | maximum element value expected after this call | *minValue* | minimum element value expected after this call |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#