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

Reset this proctor to manage a different set of objects&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reset(
    xref:BloombergLP/bslma/DeallocateObjectProctor.adoc[PtrType] p,
    std::size&lowbar;t n = 1);
----

== Description

Release the managed object and reset this proctor to manage the specified `p` pointer to optionally specified `n` objects&period; If `p` is null, then the proctor will be disengaged&period; Note that the previously managed objects are not deallocated&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| address of the objects to manage, or null to disengage
| *n*
| number of objects to manage (1 by default)
|===


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