[#BloombergLP-bslma-DestructorProctor-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/DestructorProctor.adoc[DestructorProctor]::DestructorProctor
:relfileprefix: ../../../
:mrdocs:

Create a destructor proctor that conditionally manages the specified `object` (if non&hyphen;zero) by invoking the destructor of the object managed by this proctor (if not released &hyphen;&hyphen; see `release`) upon destruction&period;

== Synopsis

Declared in `&lt;bslma&lowbar;destructorproctor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
DestructorProctor(TYPE* object);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
