FougTools
0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
|
#include <cpptools/scoped_value.h>
Public Member Functions | |
ScopedValue (T &variable, T scopeValue) | |
~ScopedValue () | |
Allows to change the value of a variable during the current scope, upon destruction, the original value is restored
cpp::ScopedValue< T >::ScopedValue | ( | T & | variable, |
T | scopeValue | ||
) |
cpp::ScopedValue< T >::~ScopedValue | ( | ) |