Create a node proctor that frees nodePtr using listPtr on destruction.
Declared in <bslstl_list.h>
List_NodeProctor(
list<VALUE, ALLOCATOR>* listPtr,
NodePtr nodePtr);
The behavior is undefined unless nodePtr was allocated by the allocator of *listPtr.
| Name | Description |
|---|---|
| listPtr | list whose allocator frees the node |
| nodePtr | node to free unless release is called |