This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 2.95.2 does not allow explicit template parameters in function declaration of partial specialization.
- To: bug-gcc at gnu dot org
- Subject: Re: gcc 2.95.2 does not allow explicit template parameters in function declaration of partial specialization.
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 05 Jan 2000 06:22:30 +0100
- Cc: llewelly at 198 dot dsl dot xmission dot com
- Organization: CMLA, ENS Cachan -- CNRS URA 1611 (France)
- References: <Pine.LNX.4.10.10001041959440.1082-101000@198.dsl.xmission.com> <flvh59azg4.fsf@poivre.cmla.ens-cachan.fr>
- Reply-To: bug-gcc at gnu dot org
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)