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: Alexandre Oliva <aoliva at redhat dot com>
- To: dewar at gnat dot com (Robert Dewar)
- Cc: gcc at gcc dot gnu dot org, kgardas at objectsecurity dot com
- Date: 06 Mar 2003 14:10:07 -0300
- Subject: Re: Putting C++ code into gcc front end
- Organization: GCC Team, Red Hat
- References: <20030305224212.E6A69F2DD7@nile.gnat.com>
On Mar 5, 2003, dewar at gnat dot com (Robert Dewar) wrote:
> In particular I would certainly
> favor a rule forbidding the use of templates,
This would be silly. It means you can't use iostreams, since they are
templates. You can't use strings either. You can't use any of the
*very* convenient features of the Standard Template Library. C++
without templates misses a lot of the benefits. C++ without templates
is kinda sorta a bit like C without pointers :-)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva at {redhat dot com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva at {lsd dot ic dot unicamp dot br, gnu.org}
Free Software Evangelist Professional serial bug killer