24#ifndef __SCOPED_SET_RESET_H
25#define __SCOPED_SET_RESET_H
43template <
typename VAL_TYPE>
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.
SCOPED_SET_RESET(VAL_TYPE &target, VAL_TYPE value)