[#BloombergLP-bslma-AutoDeallocator-setLength] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/AutoDeallocator.adoc[AutoDeallocator]::setLength :relfileprefix: ../../../ :mrdocs: Set the (signed) length of the sequence of memory blocks managed by this range proctor to the specified `length`. The behavior is undefined unless the origin of this range proctor is non‐zero. == Synopsis Declared in `<bslma_autodeallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setLength(int length); ---- == Parameters [cols="1,4"] |=== | Name| Description | *length* | The signed length of the managed memory block sequence. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#