This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 02/22] Use RAII to save and restore scalars
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> template<class T>
Pedro> scoped_restore_<T> make_scoped_restore (T *var)
Pedro> {
Pedro> return scoped_restore_<T> (var);
Pedro> }
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
naming.
Tom