[#BloombergLP-bslma-ExceptionGuard-resetValue]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/ExceptionGuard.adoc[ExceptionGuard]::resetValue
:relfileprefix: ../../../
:mrdocs:

Reset the expected state of the guarded object, if an exception should propagate past this guard, to the specified `value`, which is set from the specified `line`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
resetValue(
    OBJECT const& value,
    int line);
----


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