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

Constructors

== Synopses

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

This move constructor creates a proctor managing the same object as `original`&period; After the move, `original` is disengaged&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslma/DeallocateObjectProctor/2constructor-04.adoc[DeallocateObjectProctor](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;DeallocateObjectProctor&gt;] original);
----

[.small]#xref:BloombergLP/bslma/DeallocateObjectProctor/2constructor-04.adoc[_» more&period;&period;&period;_]#

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;


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

[.small]#xref:BloombergLP/bslma/DeallocateObjectProctor/2constructor-0b.adoc[_» more&period;&period;&period;_]#


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