This class implements a proctor that, unless its release method has previously been invoked, automatically deallocates a managed list of nodes upon destruction by recursively invoking the deleteNode method of a supplied factory on each node. The (template parameter) type FACTORY shall be provide a member function that can be called as if it had the following signature: ` void deleteNode(bslalg::BidirectionalLink *node); `
Synopsis
Declared in <bslstl_hashtable.h>
template<class FACTORY>
class HashTable_NodeProctor;
Member Functions
Name |
Description |
|
Create a new node‐proctor that conditionally manages the specified |
|
Destroy this node proctor, and delete the node that it manages (if any) by invoking the |
Release from management the node currently managed by this proctor. If no object is currently being managed, this method has no effect. |
Created with MrDocs