BloombergLP::bslalg::RbTreeUtilTreeProctor

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

Synopsis

Declared in <bslalg_rbtreeutil.h>

template<class DELETER>
class RbTreeUtilTreeProctor;

Member Functions

NameDescription
RbTreeUtilTreeProctor [constructor]Create a proctor object that, unless release is called, will, on destruction, invoke the specified deleter on each node in tree.
~RbTreeUtilTreeProctor [destructor]Unless release has been called, invoke the deleter supplied at construction on each node in the tree supplied at construction.
release Release from management the tree supplied at construction.