[#BloombergLP-bslma-AutoDeallocator-reset-03]
= 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&period; The behavior is undefined unless `origin` is non&hyphen;zero&period; 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&period; Also note that this method releases any previously&hyphen;managed memory blocks from management (without deallocating them), and so may be called with or without having called `release` when reusing this object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reset(void** origin);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *origin*
| The address of the origin memory block pointer&period;
|===


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