[#BloombergLP-bdlcc-ObjectPool_CreatorConverter-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::ObjectPool_CreatorConverter :relfileprefix: ../../ :mrdocs: The purpose of this private class is to avoid ambiguity between different template instantiations of `bsl::function` accepted by the constructors of `ObjectPool`. It should not be used directly. == Synopsis Declared in `<bdlcc_objectpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class OTHERTYPE> class ObjectPool_CreatorConverter; ---- == Description This version of the converter ignores the parameterized `OTHERTYPE`. It requires a reference to an object of the parameterized `TYPE` in its constructor. == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlcc/ObjectPool_CreatorConverter-07/2constructor.adoc[`ObjectPool_CreatorConverter`] [.small]#[constructor]# | Create a converter holding a reference to the specified `creator`. | xref:BloombergLP/bdlcc/ObjectPool_CreatorConverter-07/creator.adoc[`creator`] | Return the creator object held by this converter. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlcc/ObjectPool_CreatorConverter-0f.adoc[`ObjectPool_CreatorConverter<ObjectPoolFunctors::DefaultCreator, bsl::function<void(void*)>>`] | The purpose of this private class is to avoid ambiguity between different template instantiations of bsl::function accepted by the constructors of `ObjectPool`. It should not be used directly. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#