This is the mail archive of the
mailing list for the GDB project.
Re: [RFA 02/22] Use RAII to save and restore scalars
>>>>> "Pedro" == Pedro Alves <email@example.com> writes:
Pedro> template<class T>
Pedro> scoped_restore_<T> make_scoped_restore (T *var)
Pedro> return scoped_restore_<T> (var);
Yeah, I'll do this. I don't know why I didn't remember this when
writing the patches.
I'd also appreciate it if you could say whether you want "m_" member