Lines Matching defs:value
1 /* scoped_restore, a simple class for saving and restoring a value
28 want the original value restored. */
47 /* An RAII-based object that saves a variable's value, and then
54 /* Create a new scoped_restore object that saves the current value
63 /* Create a new scoped_restore object that saves the current value
69 scoped_restore_tmpl (T *var, T2 value)
73 *var = value;
98 /* The saved value. */
113 scoped_restore_tmpl<T> make_scoped_restore (T *var, T2 value)
115 return scoped_restore_tmpl<T> (var, value);