Specialization in templates
Alexandre Oliva
oliva@dcc.unicamp.br
Sat Oct 31 05:02:00 GMT 1998
Gabriel Dos Reis <Gabriel.Dos-Reis@dptmaths.ens-cachan.fr> writes:
>>>>>> ëJPPû, Jean-Michel Paris <Jean-Michel.Paris@pt.nce.sita.int> wrote:
> [...]
> This code should not compile. There is a miising "template <>" just
> before struct A<int>
Yep. I've just installed the attached testcase.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
-------------- next part --------------
// Build don't link:
template <class T> class A;
// template <>
class A<int>; // ERROR - missing template header - XFAIL *-*-*
More information about the Gcc
mailing list