[#BloombergLP-bslma-DeleteObjectProctor-2constructor-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/DeleteObjectProctor.adoc[DeleteObjectProctor]::DeleteObjectProctor
:relfileprefix: ../../../
:mrdocs:

Create a proctor to manage the specified `p` object, which has been allocated from the specified `allocator`&period; If `p` is null, then the created proctor is disengaged (manages no object)&period; The behavior is undefined if `p` is non&hyphen;null but not allocated from `allocator`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
DeleteObjectProctor(
    ALLOCATOR const& allocator,
    xref:BloombergLP/bslma/DeleteObjectProctor.adoc[PtrType] p);
----


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