[#BloombergLP-bdlcc-ObjectPool-increaseCapacity] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectPool.adoc[ObjectPool]::increaseCapacity :relfileprefix: ../../../ :mrdocs: Create the specified `numObjects` objects and add them to this object pool. The behavior is undefined unless `0 <= numObjects`. == Synopsis Declared in `<bdlcc_objectpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void increaseCapacity(int numObjects); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#