[#bsl-List_NodeProctor] = xref:bsl.adoc[bsl]::List_NodeProctor :relfileprefix: ../ :mrdocs: This class provides a proctor to free a node containing an uninitialized `VALUE` object in the event that an exception is thrown. == Synopsis Declared in `<bslstl_list.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE, class ALLOCATOR> class List_NodeProctor; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:bsl/List_NodeProctor/NodePtr.adoc[`NodePtr`] | Pointer to a list node allocated by this proctor's list. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/List_NodeProctor/2constructor-05.adoc[`List_NodeProctor`] [.small]#[constructor]# | Create a node proctor object that will use the specified list `listPtr` to free the specified `nodePtr`. The behavior is undefined unless `nodePtr` was allocated by the allocator of `*listPtr`. | xref:bsl/List_NodeProctor/2destructor.adoc[`~List_NodeProctor`] [.small]#[destructor]# | Destroy this node proctor, and free the node it contains unless the `release` method has been called before. Note that the `d_value` field of the node is not destroyed. | xref:bsl/List_NodeProctor/release.adoc[`release`] | Detach the node contained in this proctor from the proctor. After calling this `release` method, the proctor no longer frees any node upon its destruction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#