[#BloombergLP-bslma-AutoDeallocator-reset-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/AutoDeallocator.adoc[AutoDeallocator]::reset :relfileprefix: ../../../ :mrdocs: Set the specified `origin` as the origin of the sequence of memory blocks to be managed by this range proctor. The behavior is undefined unless `origin` is non‐zero. Note that the length of the sequence of memory blocks managed by this proctor is not affected, and `setLength` should be invoked if the managed range is different from the previously managed sequence of memory blocks. Also note that this method releases any previously‐managed memory blocks from management (without deallocating them), and so may be called with or without having called `release` when reusing this object. == Synopses Declared in `<bslma_autodeallocator.h>` Set the specified `origin` as the origin of the sequence of memory blocks to be managed by this range proctor. The behavior is undefined unless `origin` is non‐zero. Note that the length of the sequence of memory blocks managed by this proctor is not affected, and `setLength` should be invoked if the managed range is different from the previously managed sequence of memory blocks. Also note that this method releases any previously‐managed memory blocks from management (without deallocating them), and so may be called with or without having called `release` when reusing this object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bslma/AutoDeallocator/reset-03.adoc[reset](void** origin); ---- [.small]#xref:BloombergLP/bslma/AutoDeallocator/reset-03.adoc[_» more..._]# Set the specified `origin` as the origin of the sequence of memory blocks to be managed by this range proctor. The behavior is undefined unless `origin` is non‐zero. Note that the length of the sequence of memory blocks managed by this proctor is not affected, and `setLength` should be invoked if the managed range is different from the previously managed sequence of memory blocks. Also note that this method releases any previously‐managed memory blocks from management (without deallocating them), and so may be called with or without having called `release` when reusing this object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> void xref:BloombergLP/bslma/AutoDeallocator/reset-00.adoc[reset](TYPE** origin); ---- [.small]#xref:BloombergLP/bslma/AutoDeallocator/reset-00.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *origin* | The address of the origin memory block pointer. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#