This is the mail archive of the gcc-prs@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: c++/1064


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


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