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

#include <bdlcc_objectpool.h>

Public Member Functions

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

Detailed Description

template<class TYPE>
class bdlcc::ObjectPoolFunctors::Reset< 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 reset upon the provided object.

See bdlcc_objectpool

Member Function Documentation

◆ operator()()

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

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