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

Same as the preceding overload, using the specified `objectResetter`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
SharedObjectPool(
    CREATOR const& objectCreator,
    RESETTER const& objectResetter,
    int growBy = &hyphen;1,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *objectCreator*
| creator used to construct pooled objects
| *objectResetter*
| resetter invoked when objects return to the pool
| *growBy*
| replenishment increment or geometric seed (must not be 0)
| *basicAllocator*
| allocator used to supply memory
|===


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