Create a proctor that conditionally manages node.

Synopsis

Declared in <bslstl_hashtable.h>

HashTable_NodeProctor(
    FACTORY* factory,
    bslalg::BidirectionalLink* node);

Description

Create a new node‐proctor that conditionally manages the specified node (if non‐zero), and that uses the specified factory to destroy the node (unless released) upon its destruction. The behavior is undefined unless node was created by the factory.

Parameters

Name

Description

factory

factory used to destroy the managed node

node

node to manage, or null

Created with MrDocs