BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlcc::ObjectPoolFunctors::Clear< TYPE > Class Template Reference

#include <bdlcc_objectpool.h>

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

Public Member Functions

void operator() (TYPE *object) const
 

Member Function Documentation

◆ operator()()

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

Inlined call to object->clear().


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