[#BloombergLP-bslstl-HashTable_NodeProctor-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable_NodeProctor.adoc[HashTable_NodeProctor]::HashTable_NodeProctor :relfileprefix: ../../../ :mrdocs: Create a proctor that conditionally manages `node`. == Synopsis Declared in `<bslstl_hashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- HashTable_NodeProctor( FACTORY* factory, xref:BloombergLP/bslalg/BidirectionalLink.adoc[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 [cols="1,4"] |=== | Name| Description | *factory* | factory used to destroy the managed node | *node* | node to manage, or null |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#