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

Set the object managed by this proctor&period;

== Synopsis

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

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

== Description

Set the specified `object` as the object to be managed by this proctor&period; The behavior is undefined unless `object` is non&hyphen;zero&period; Note that this method releases any previously&hyphen;managed object from management (without destroying it), and so may be invoked with or without having called `release` when reusing this object&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| Object to manage&semi; must be non&hyphen;zero&period;
|===


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