Sets a variable upon construction and again when the object goes out of scope. More...
#include <ScopedValue.h>
Public Member Functions | |
ScopedValue (T *ptr, T initialValue, T finalValue) | |
Sets a variable upon construction and again when the object goes out of scope.