This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: explicit specialization in non-namespace scope
- To: Oskar Enoksson <osken393 at student dot liu dot se>
- Subject: Re: explicit specialization in non-namespace scope
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 17 Sep 1998 14:43:45 +-300
- Cc: egcs at cygnus dot com
- References: <Pine.GSO.3.96.980917184923.7109A-100000@lystra.lysator.liu.se>
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