This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/1064
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/1064
- From: rodrigc at gcc dot gnu dot org
- Date: 11 Mar 2001 18:46:00 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: rodrigc at gcc dot gnu dot org
The following reply was made to PR c++/1064; it has been noted by GNATS.
From: rodrigc@gcc.gnu.org
To: ballabio@sissa.it, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Cc:
Subject: Re: c++/1064
Date: 11 Mar 2001 18:38:11 -0000
Synopsis: "friend" fails on partially specialized template functions
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Mar 11 10:38:11 2001
State-Changed-Why:
As Alexandre Olivia mentioned, your code is not valid
C++. I recommend that you read a good book on C++
which talks about template specialization and function
templates.
I have an attachment which modifies your example so
that it compiles under gcc 3.0
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1064&database=gcc