Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bdlcc::ObjectPool_CreatorConverter< ObjectPoolFunctors::DefaultCreator, bsl::function< void(void *)> > Class Template Reference

#include <bdlcc_objectpool.h>

List of all members.

Public Member Functions

 ObjectPool_CreatorConverter (const bsl::function< void(void *)> &creator)
ObjectPoolFunctors::DefaultCreator creator () const

Detailed Description

template<>
class bdlcc::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.

This version of the converter is a full template specialization for the case that the default creator type is used with a unary creator. In this case, creator will return a binder (see bdlf_bind) that adapts the unary creator to a binary creator that discards the second argument. This usage is DEPRECATED and provided only for backward compatibility.

See Component bdlcc_objectpool


Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: