Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgRestorer.h File Reference


Detailed Description

Change and restore stack-based variables.

Definition in file SgRestorer.h.

Go to the source code of this file.

Classes

class  SgRestorer< T >
 A SgRestorer<T> variable saves the current state of a variable of type T and restores it to that saved value upon leaving the scope in an exception-safe way. More...
class  SgAssertRestored< T >
 Saves the current state of a variable of type T and asserts that the saved value equals the value upon leaving the scope. More...


17 Jun 2010 Doxygen 1.4.7