[#BloombergLP-bdlcc-ObjectPoolFunctors-RemoveAll]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectPoolFunctors.adoc[ObjectPoolFunctors]::RemoveAll
:relfileprefix: ../../../
:mrdocs:

Resetter functor that calls `removeAll` on pooled objects&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;objectpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
class RemoveAll;
----

== Description

This fully&hyphen;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&colon; `void(_)(TYPE_)`&period; It calls `removeAll` upon the provided object&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlcc/ObjectPoolFunctors/RemoveAll/operator_call.adoc[`operator()`] 
| Inlined call to `object&hyphen;&gt;removeAll()`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
