8#ifndef INCLUDED_BSLALG_AUTOSCALARDESTRUCTOR
9#define INCLUDED_BSLALG_AUTOSCALARDESTRUCTOR
62#include <bslscm_version.h>
68#ifndef BDE_DONT_ALLOW_TRANSITIVE_INCLUDES
85template <
class OBJECT_TYPE>
89 OBJECT_TYPE *d_object_p;
119 void reset(OBJECT_TYPE *
object);
131template <
class OBJECT_TYPE>
138template <
class OBJECT_TYPE>
143 bslma::DestructionUtil::destroy(d_object_p);
148template <
class OBJECT_TYPE>
155template <
class OBJECT_TYPE>
164#ifndef BDE_OPENSOURCE_PUBLICATION
169#ifdef bslalg_AutoScalarDestructor
170#undef bslalg_AutoScalarDestructor
173#define bslalg_AutoScalarDestructor bslalg::AutoScalarDestructor
Definition bslalg_autoscalardestructor.h:86
void reset(OBJECT_TYPE *object)
Definition bslalg_autoscalardestructor.h:157
void release()
Definition bslalg_autoscalardestructor.h:150
~AutoScalarDestructor()
Definition bslalg_autoscalardestructor.h:140
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdlc_flathashmap.h:1805