[#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. == Synopsis Declared in `<bslma_deallocateobjectproctor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reset( xref:BloombergLP/bslma/DeallocateObjectProctor.adoc[PtrType] p, std::size_t n = 1); ---- == Description Release the managed object and reset this proctor to manage the specified `p` pointer to optionally specified `n` objects. If `p` is null, then the proctor will be disengaged. Note that the previously managed objects are not deallocated. == 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]#