BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlcc::ObjectPool_CreatorConverter< TYPE, OTHERTYPE > Class Template Reference

#include <bdlcc_objectpool.h>

Public Member Functions

 ObjectPool_CreatorConverter (const TYPE &creator)
 
const TYPE & creator () const
 

Detailed Description

template<class TYPE, class OTHERTYPE>
class bdlcc::ObjectPool_CreatorConverter< TYPE, OTHERTYPE >

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 ignores the parameterized OTHERTYPE. It requires a reference to an object of the parameterized TYPE in its constructor.

See bdlcc_objectpool

Constructor & Destructor Documentation

◆ ObjectPool_CreatorConverter()

template<class TYPE , class OTHERTYPE >
bdlcc::ObjectPool_CreatorConverter< TYPE, OTHERTYPE >::ObjectPool_CreatorConverter ( const TYPE &  creator)
inline

Member Function Documentation

◆ creator()

template<class TYPE , class OTHERTYPE >
const TYPE & bdlcc::ObjectPool_CreatorConverter< TYPE, OTHERTYPE >::creator ( ) const
inline

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