[#BloombergLP-bdlcc-ObjectPool-reserveCapacity] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectPool.adoc[ObjectPool]::reserveCapacity :relfileprefix: ../../../ :mrdocs: Create enough objects to satisfy requests for at least the specified `numObjects` objects before the next replenishment. The behavior is undefined unless `0 <= numObjects`. Note that this method is different from `increaseCapacity` in that the number of created objects may be less than `numObjects`. == Synopsis Declared in `<bdlcc_objectpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reserveCapacity(int numObjects); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#