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.
Declared in <bslma_exceptionguard.h>
void
resetValue(
OBJECT const& value,
int line);
| Name | Description |
|---|---|
| value | The new expected value of the guarded object. |
| line | The source line number associated with this reset. |