[#BloombergLP-bdlcc-ObjectPool_CreatorConverter-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::ObjectPool&lowbar;CreatorConverter
:relfileprefix: ../../
:mrdocs:

The purpose of this private class is to avoid ambiguity between different template instantiations of `bsl&colon;&colon;function` accepted by the constructors of `ObjectPool`&period; It should not be used directly&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TYPE,
    class OTHERTYPE&gt;
class ObjectPool&lowbar;CreatorConverter;
----

== Description

This version of the converter ignores the parameterized `OTHERTYPE`&period; It requires a reference to an object of the parameterized `TYPE` in its constructor&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlcc/ObjectPool_CreatorConverter-07/2constructor.adoc[`ObjectPool&lowbar;CreatorConverter`]         [.small]#[constructor]#
| Create a converter holding a reference to the specified `creator`&period;
| xref:BloombergLP/bdlcc/ObjectPool_CreatorConverter-07/creator.adoc[`creator`] 
| Return the creator object held by this converter&period;
|===


== Specializations

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlcc/ObjectPool_CreatorConverter-0f.adoc[`ObjectPool&lowbar;CreatorConverter&lt;ObjectPoolFunctors::DefaultCreator, bsl::function&lt;void(void*)&gt;&gt;`] 
| The purpose of this private class is to avoid ambiguity between different template instantiations of bsl&colon;&colon;function accepted by the constructors of `ObjectPool`&period; It should not be used directly&period;
|===



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