24 #ifndef __SCOPED_SET_RESET_H 25 #define __SCOPED_SET_RESET_H 43 template <
typename VAL_TYPE>
68 #endif // __SCOPED_SET_RESET_H
SCOPED_SET_RESET(VAL_TYPE &target, VAL_TYPE value)
RAII class that sets an value at construction and resets it to the original value at destruction.
~SCOPED_SET_RESET()
Destruct the class, and return the target to its original value.