Converter that adapts a unary creator to the default binary creator type.
Synopsis
Declared in <bdlcc_objectpool.h>
Description
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.
Member Functions
Name |
Description |
|
Create a converter holding a reference to the specified unary |
Return a binary creator adapted from the held unary creator. |
Created with MrDocs