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

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 disenaged&period; Note that the previously managed objects are not deallocated&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);
----


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