gcc 2.95.2 does not allow explicit template parameters in function declaration of partial specialization.

Gabriel Dos Reis Gabriel.Dos-Reis@cmla.ens-cachan.fr
Tue Jan 4 21:29:00 GMT 2000


Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> writes:

| llewelly@198.dsl.xmission.com writes:
| 
| | [1  <text/plain; US-ASCII (7bit)>]
| | template<typename T0,typename T1>
| |   void foo();
| | 
| | template<typename T0>
| |   void foo<T0,int>();
| 
| [...]
| 
| | function_template_specialization_bug.cc:5: template-id `foo<T0, int>'
| | in declaration of primary template 
| 
| G++ is right?

I meant 'G++ is right.'  
(I was not asking a question)


More information about the Gcc-bugs mailing list