This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> You can -- make the fields mutable.

>> Ok, yeah, I had thought of this, but it seemed pretty ugly to me.

Pedro> It's hidden in the "library", so it'd be super fine with me.
Pedro> I think of it as just part of the idiom.

I did this and restored the 2-argument form.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]