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++/2130


The following reply was made to PR c++/2130; it has been noted by GNATS.

From: lerdsuwa@gcc.gnu.org
To: francois.sugny@wanadoo.fr, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/2130
Date: 8 Apr 2001 10:15:06 -0000

 Synopsis: problem at compilation when using friend with a template class
 
 State-Changed-From-To: open->closed
 State-Changed-By: lerdsuwa
 State-Changed-When: Sun Apr  8 03:15:06 2001
 State-Changed-Why:
     Not a bug.  The correct syntax is
       friend class ptr;
     or
       friend class CCOMptr<const MyClass> ptr;
     Both work with the current gcc in the branch 3.0 in CVS.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2130&database=gcc


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