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]

Re: Patch installed for constification


Kaveh R. Ghazi wrote:-

> I found a lot of places where "const char *" could instead be
> tightened up as "const char *const".

Is this useful and worth it?  To me, the value of constness tends to
come from being a pointer to const, and not from being a const
pointer.

Neil.


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