Template Class AutoReset

Class Documentation

template<typename T>
class AutoReset

Public Functions

template<typename U>
inline AutoReset(T *variable, U &&new_value)
inline ~AutoReset()
AutoReset(AutoReset&&) = delete
AutoReset &operator=(AutoReset&&) = delete