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

Constructors

== Synopses

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

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


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

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

Create a proctor to manage the specified `nbytes` bytes at the specified `p` address, which have been allocated from the specified `allocator`&period; Optionally specify the `alignment` used to allocate the bytes&period; If `p` is null, then the created proctor is disengaged (manages no memory)&period; The behavior is undefined unless `p` is null or was allocated from `allocator` with a size of `nbytes` and alignment of `alignment`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslma/DeallocateBytesProctor/2constructor-0d.adoc[DeallocateBytesProctor](
    ALLOCATOR const& allocator,
    xref:BloombergLP/bslma/DeallocateBytesProctor.adoc[PtrType] p,
    std::size&lowbar;t nbytes,
    std::size&lowbar;t alignment = k&lowbar;MAX&lowbar;ALIGNMENT);
----

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


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