[#BloombergLP-bdlcc-SharedObjectPool-increaseCapacity]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SharedObjectPool.adoc[SharedObjectPool]::increaseCapacity
:relfileprefix: ../../../
:mrdocs:

Create the specified `growBy` objects and add them to this object pool&period; The behavior is undefined unless `0 &lt;&equals; growBy`&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;sharedobjectpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
increaseCapacity(int growBy);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *growBy*
| number of objects to create and add
|===


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