paludis
Version 2.6.0
|
#include <save.hh>
Basic operations | |
Save (T_ *const p) | |
Save (T_ *const p, const T_ &new_value) | |
~Save () | |
Save the value of a particular variable and assign it a new value for the duration of the Save instance's lifetime (RAII, see EffCpp item 13 or TCppPL section 14.4).
|
inline |
Constructor.
|
inline |
Constructor, with convenience assignment to new_value.
|
inline |
Destructor.