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.

Synopsis

Declared in <bslma_exceptionguard.h>

void
resetValue(
    OBJECT const& value,
    int line);

Created with MrDocs