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

#include <bdlcc_objectpool.h>

Public Member Functions

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

Detailed Description

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

See bdlcc_objectpool

Member Function Documentation

◆ operator()()

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

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