[#BloombergLP-bdlcc-ObjectPool-2constructor-086]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectPool.adoc[ObjectPool]::ObjectPool
:relfileprefix: ../../../
:mrdocs:

DEPRECATED&colon; Use a creator of the parameterized `CREATOR` type&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ANYPROTO&gt;
explicit
ObjectPool(
    xref:bsl/function-0a.adoc[bsl::function&lt;ANYPROTO&gt;] const& objectCreator,
    int growBy,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


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