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

Create an auto deallocator to manage a sequence of memory blocks&period;

== Synopses

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

Create an auto deallocator to manage a sequence of memory blocks&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslma/AutoDeallocator/2constructor-085.adoc[AutoDeallocator](
    void** origin,
    ALLOCATOR* allocator,
    int length = 0);
----

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

Create an auto deallocator to manage a sequence of memory blocks&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
xref:BloombergLP/bslma/AutoDeallocator/2constructor-09.adoc[AutoDeallocator](
    TYPE** origin,
    ALLOCATOR* allocator,
    int length = 0);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *origin*
| The address of the origin memory block pointer&period;
| *allocator*
| The allocator used to deallocate managed memory blocks&period;
| *length*
| The signed length of the managed memory block sequence&period;
|===


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