BloombergLP::bdlcc::ObjectPool_CreatorConverter

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

NameDescription
ObjectPool_CreatorConverter [constructor]Create a converter holding a reference to the specified creator.
creator Return the creator object held by this converter.

Specializations

NameDescription
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.