[#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;`

Move&hyphen;construct a proctor from `original`&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 a memory block from the specified allocator&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;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| proctor to move from
| *allocator*
| allocator (or pool) that allocated `p`
| *p*
| address of the memory block to manage, or null
| *nbytes*
| size in bytes of the block at `p`
| *alignment*
| alignment used when `p` was allocated
|===


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