This class implements a proctor that, unless its release method has previously been invoked, automatically destroys a managed object upon destruction by invoking the (managed) object's destructor.
Synopsis
Declared in <bslma_destructorproctor.h>
template<class TYPE>
class DestructorProctor;
Member Functions
Name |
Description |
|
Create a destructor proctor that conditionally manages the specified |
|
Destroy this destructor proctor, and destroy the object it manages (if any) by invoking the destructor of the (managed) object. If no object is currently being managed, this method has no effect. |
Release from management the object currently managed by this proctor. If no object is currently being managed, this method has no effect. |
|
Set the specified |
Created with MrDocs