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>

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

Name

Description

ObjectPool_CreatorConverter [constructor]

Create a converter holding a reference to the specified creator.

creator

Return the creator object held by this converter.

Specializations

Name

Description

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.

Created with MrDocs