g++ code generation bug

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


Just for the records :-), an explicit template specialization must be
always preceded by `template <>' [templ.expl.spec]:

  template <>
> void A<int>::foo1(int i)

Unfortunately, fixing this won't fix this problem.

-- 
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