Guru-nizing printing of types

Jason Merrill
Mon Nov 15 09:12:00 GMT 1999

>>>>> Mark Mitchell <> writes:

 Carlo> Anyway, if you don't want to use the `int const*' style as
 Carlo> default then there isn't much I can do.  But,... how about
 Carlo> using the `int* func(const char*);' style as default
 Carlo> instead of `int *func(const char *)'?

 > I agree that's a more modern style, used by most C++ programmers, and
 > perhaps appropriate.  If Jason doesn't object, I would approve a patch
 > that changed just that.

I still feel that this is not a C++-specific question; we should be
consistent with the C frontend and the GNU Coding Standards on this issue.
Pointers are the same in C and C++.


More information about the Gcc-patches mailing list