BloombergLP::bslalg::AutoScalarDestructor::AutoScalarDestructor

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.

Synopsis

Declared in <bslalg_autoscalardestructor.h>

AutoScalarDestructor(OBJECT_TYPE* object);