PLaSK library
|
Assign new value to variable and back the old value in destructor. More...
#include <plask/utils/stl.hpp>
Public Member Functions | |
template<typename... ConstructorArgsT> | |
AssignWithBackup (T &varible_to_back, ConstructorArgsT &&... newValueCtrArgs) | |
~AssignWithBackup () | |
Public Attributes | |
T & | original |
T | store |
Assign new value to variable and back the old value in destructor.
It:
|
inline |
|
inline |
T& plask::AssignWithBackup< T >::original |
T plask::AssignWithBackup< T >::store |