This class provides a proctor to free a node containing an uninitialized VALUE object in the event that an exception is thrown.
Declared in <bslstl_list.h>
template<
class VALUE,
class ALLOCATOR>
class List_NodeProctor;
| Name | Description |
|---|---|
NodePtr | Pointer to a list node allocated by this proctor's list. |
| Name | Description |
|---|---|
List_NodeProctor [constructor] | Create a node proctor that frees nodePtr using listPtr on destruction. |
~List_NodeProctor [destructor] | Destroy this proctor and free its node unless release was called. |
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. |