Resetter functor that calls clear on pooled objects.
Declared in <bdlcc_objectpool.h>
template<class TYPE>
class 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.
| Name | Description |
|---|---|
operator() | Inlined call to object->clear(). |