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

Create a proctor to manage the optionally specified `n` objects at the specified `p` address, which have been allocated from the specified `allocator`&period; If `p` is null, then the created proctor is disengaged (manages no objects)&period; The behavior is undefined if `p` is non&hyphen;null but not allocated from `allocator` or if `p` does not point to an array of `n` objects&period;

== Synopsis

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

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


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