A g++ template bug?

Alexandre Oliva oliva@dcc.unicamp.br
Sat Sep 26 00:52:00 GMT 1998


H J Lu <hjl@lucon.org> writes:

> As you you see, __doadv is not mangled as a template function.

Yup, it should have been rejected, because it was not declared when
you first referred to it as a template function.  Please check the FAQ
http://egcs.cygnus.com/faq.html#friend

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