Create a destructor proctor that conditionally manages an object.
Declared in <bslma_destructorproctor.h>
explicit
DestructorProctor(TYPE* object);
Create a destructor proctor that conditionally manages the specified object (if non-zero) by invoking the destructor of the object managed by this proctor (if not released -- see release) upon destruction.
| Name | Description |
|---|---|
| object | Object to manage, or 0 for none. |