This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Introduce notion of "search name"
> Personally, I would leave the signature as is and cast away the
> constness when you eventually add this lazy demangling. My
> justification is that the operation is logically a const operation;
> you're planning to generate some information on the fly, but it
> wouldn't actually change the state of the object.
Sounds fine to me. I suppose that would be as close to the "mutable" idiom
as one can come in C.
Paul Hilfinger
Hilfinger@gnat.com