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

This struct provides several functors that are suitable `RESETTER` parameter types for `ObjectPool`&period; It also provides a `typedef` that specifies the default `CREATOR` parameter type for `ObjectPool`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct ObjectPoolFunctors;
----

== Types

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlcc/ObjectPoolFunctors/Clear.adoc[`Clear`] 
| 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 `clear` upon the provided object&period;
| xref:BloombergLP/bdlcc/ObjectPoolFunctors/Nil.adoc[`Nil`] 
| 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 does nothing&period;
| xref:BloombergLP/bdlcc/ObjectPoolFunctors/RemoveAll.adoc[`RemoveAll`] 
| 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;
| xref:BloombergLP/bdlcc/ObjectPoolFunctors/Reset.adoc[`Reset`] 
| 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 `reset` upon the provided object&period;
|===


== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlcc/ObjectPoolFunctors/DefaultCreator.adoc[`DefaultCreator`] 
| The default `CREATOR` parameter type for the `ObjectPool` class template&period;
|===



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