This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH INSTALLED]: const typedefs part 19/N


> That crosses the line for me from "i don't care if you want to
> constify a bunch of things" to "stop making the code look horrible".
> Really, all something like that will do is confuse people.

I agree.  Adding "const" is valuable, but the benefit of doing so is
relatively small and I don't think it should be done if there is any
significant COST in doing so.  Certainly having to add new function is way
too large a cost to justify that, in my mind, and even adding new lines of
code to do ugly conversions would make me wonder if it were worthwhile.


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