This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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> 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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]