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);
Parameters
Name |
Description |
value |
The new expected value of the guarded object. |
line |
The source line number associated with this reset. |
Created with MrDocs