This is the mail archive of the gcc-bugs@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]

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


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


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