FTXUI
5.0.0
C++ functional terminal UI.
|
Assign a value to a variable, reset its old value when going out of scope. More...
Public Member Functions | |
AutoReset (T *variable, T new_value) | |
~AutoReset () | |
Assign a value to a variable, reset its old value when going out of scope.
Definition at line 13 of file autoreset.hpp.
|
inline |
Definition at line 15 of file autoreset.hpp.
|
inline |
Definition at line 19 of file autoreset.hpp.