[#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. == Synopses Declared in `<bslma_autodeallocator.h>` Create an auto deallocator to manage a sequence of memory blocks. [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..._]# Create an auto deallocator to manage a sequence of memory blocks. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> xref:BloombergLP/bslma/AutoDeallocator/2constructor-09.adoc[AutoDeallocator]( TYPE** origin, ALLOCATOR* allocator, int length = 0); ---- [.small]#xref:BloombergLP/bslma/AutoDeallocator/2constructor-09.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *origin* | The address of the origin memory block pointer. | *allocator* | The allocator used to deallocate managed memory blocks. | *length* | The signed length of the managed memory block sequence. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#