This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch installed for constification
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Patch installed for constification
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Wed, 12 Sep 2001 19:20:13 +0100
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200109121724.NAA04346@caip.rutgers.edu>
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.