This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Putting C++ code into gcc front end


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


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