Create a guard that destroys the specified object unless released.
Synopsis
Declared in <bslalg_autoscalardestructor.h>
AutoScalarDestructor(OBJECT_TYPE* object);
Description
Create a guard object, proctoring the specified object of the parameterized OBJECT_TYPE (if non‐zero), that will invoke the destructor of object upon destruction.
Parameters
Name |
Description |
object |
address of the object to proctor, or null |
Created with MrDocs