bug in g++ current (egcs-2.92.04 19980914) frontend

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


Jose Gomes <Jose.Gomes@sophia.inria.fr> writes:

> The member template specialization in the following code works fine
> with the 1.1 release but generates an error with egcs-2.92.04

> /tmp/z3.C:13: enclosing class templates are not explicit specialized

The error is correct.  According to the Standard, a nested template
can only be partially or fully specialized if the enclosing template
is fully specialized.

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