[#BloombergLP-bslma-AutoDestructor-reset]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/AutoDestructor.adoc[AutoDestructor]::reset
:relfileprefix: ../../../
:mrdocs:

Set the origin of the sequence of objects managed by this proctor&period;

== Synopsis

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

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

== Description

Set the specified `origin` of the sequence of objects managed by this range proctor&period; This method does not destroy the previously&hyphen;managed objects or affect the length of the sequence managed&period; The behavior is undefined unless `origin` is non&hyphen;zero&period; Note that `reset` can be called without having previously called `release` provided that `length` is set appropriately before this proctor could be destroyed (e&period;g&period;, via a thrown exception)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *origin*
| Address of the origin of the managed object sequence&period;
|===


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