BloombergLP::bdlcc::ObjectPoolFunctors::Reset

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 reset upon the provided object.

Synopsis

Declared in <bdlcc_objectpool.h>

template<class TYPE>
class Reset;

Member Functions

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