Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Classes

SgRestorer.h File Reference

Change and restore stack-based variables. More...

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...

Detailed Description

Change and restore stack-based variables.

Definition in file SgRestorer.h.


Sun Mar 13 2011 Doxygen 1.7.1