FTXUI
0.8.1
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 10 of file autoreset.hpp.
|
inline |
Definition at line 12 of file autoreset.hpp.
|
inline |
Definition at line 16 of file autoreset.hpp.