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 00/12] (somewhat) clean up struct value ownership


Pedro> As I'm reading the series, I'm also wishing for making some of the
Pedro> value-related free-functions methods of value instead, so that
Pedro> instead of having to write ref_ptr::get() calls like in:

I did some of this today, but it's hard to know where to stop.

I was thinking maybe just the things requiring direct access to the
members; and then anything else could remain a free function.  I'm not
sure though and there might be exceptions to that.

Tom


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