This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Putting C++ code into gcc front end
- From: dewar at gnat dot com (Robert Dewar)
- To: gcc at gcc dot gnu dot org, kgardas at objectsecurity dot com
- Date: Wed, 5 Mar 2003 17:42:12 -0500 (EST)
- Subject: Re: Putting C++ code into gcc front end
> First five points on this list look quite restrictive
Well "quite restrictive" is not necessarily a bad thing. In particular I would certainly
favor a rule forbidding the use of templates, because the use of templates can so easily
get out of hand. Perhaps someone who knows C++ better than I do can formulate rules to
prevent misuse of templates, but I often see C++ code where the authors seem completely
fearless when it comes to using the language in a very complex unreadable manner. If we
let that kind of code in, we are behind, not ahead of the current state of things.