[#BloombergLP-bslalg-RbTreeUtilTreeProctor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::RbTreeUtilTreeProctor
:relfileprefix: ../../
:mrdocs:

This class implements a proctor that, unless `release` is called, invokes the parameterized `DELETER` on each node in the tree supplied at construction&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;rbtreeutil&period;h&gt;`

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

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslalg/RbTreeUtilTreeProctor/2constructor.adoc[`RbTreeUtilTreeProctor`]         [.small]#[constructor]#
| Create a proctor object that, unless `release` is called, will, on destruction, invoke the specified `deleter` on each node in `tree`&period;
| xref:BloombergLP/bslalg/RbTreeUtilTreeProctor/2destructor.adoc[`&#126;RbTreeUtilTreeProctor`] [.small]#[destructor]#
| Unless `release` has been called, invoke the deleter supplied at construction on each node in the tree supplied at construction&period;
| xref:BloombergLP/bslalg/RbTreeUtilTreeProctor/release.adoc[`release`] 
| Release from management the tree supplied at construction&period;
|===



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