Patch for g++-980308: bug in template template parameter implementation again

Alexandre Oliva oliva@dcc.unicamp.br
Mon Mar 16 07:13:00 GMT 1998


Kriang Lerdsuwanakij writes:

> Bernd Nottelmann <nottelm@PTP283.UNI-MUENSTER.DE> wrote:

>> template <> Add < T, Id, Id > operator+(const Id<T>& e) const {

> I believe that the extra bracket is not required (according to C++ 
> Programming Language, page 344).

Although I have wrote differently before, that's correct according to
the Standard too ([temp.expl.spec]/11)

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



More information about the Gcc-bugs mailing list