BloombergLP::bslstl::HashTable_NodeProctor::HashTable_NodeProctor

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

NameDescription
factoryfactory used to destroy the managed node
nodenode to manage, or null