BloombergLP::bdlcc::ObjectPoolFunctors::Clear

This fully-inlined class, suitable as the RESETTER parameter type for ObjectPool, is a functor taking a pointer to the parameterized TYPE argument, and can be invoked as: void()(TYPE). It calls clear upon the provided object.

Synopsis

Declared in <bdlcc_objectpool.h>

template<class TYPE>
class Clear;

Member Functions

NameDescription
operator() Inlined call to object->clear().