BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslalg::RbTreeUtilTreeProctor< DELETER > Class Template Reference

#include <bslalg_rbtreeutil.h>

Public Member Functions

 RbTreeUtilTreeProctor (RbTreeAnchor *tree, DELETER *deleter)
 
 ~RbTreeUtilTreeProctor ()
 
void release ()
 Release from management the tree supplied at construction.
 

Detailed Description

template<class DELETER>
class bslalg::RbTreeUtilTreeProctor< DELETER >

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

See bslalg_rbtreeutil

Constructor & Destructor Documentation

◆ RbTreeUtilTreeProctor()

template<class DELETER >
bslalg::RbTreeUtilTreeProctor< DELETER >::RbTreeUtilTreeProctor ( RbTreeAnchor tree,
DELETER *  deleter 
)
inline

Create a proctor object that, unless release is called, will, on destruction, invoke the specified deleter on each node in tree.

◆ ~RbTreeUtilTreeProctor()

template<class DELETER >
bslalg::RbTreeUtilTreeProctor< DELETER >::~RbTreeUtilTreeProctor ( )
inline

Unless release has been called, invoke the deleter supplied at construction on each node in the tree supplied at construction.

Member Function Documentation

◆ release()

template<class DELETER >
void bslalg::RbTreeUtilTreeProctor< DELETER >::release ( )
inline

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