Re: [RFA 02/22] Use RAII to save and restore scalars

Tom Tromey
2016-09-30T14:52:11Z

>>>>> "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