BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlcc::ObjectPoolFunctors::Clear< TYPE > Class Template Reference

#include <bdlcc_objectpool.h>

Public Member Functions

void operator() (TYPE *object) const
 Inlined call to object->clear().
 

Detailed Description

template<class TYPE>
class bdlcc::ObjectPoolFunctors::Clear< TYPE >

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.

See bdlcc_objectpool

Member Function Documentation

◆ operator()()

template<class TYPE >
void bdlcc::ObjectPoolFunctors::Clear< TYPE >::operator() ( TYPE *  object) const
inline

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