explicit specialization in non-namespace scope

Alexandre Oliva oliva@dcc.unicamp.br
Thu Sep 17 11:14:00 GMT 1998


Oskar Enoksson <osken393@student.liu.se> writes:

> The following code compiles with egcs 1.1 but not with egcs-19980914,
> Which is wrong?

egcs 1.1.  According to the Standard, template specializations can
only be declared in namespace scope.

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