This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2130
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/2130
- From: lerdsuwa at gcc dot gnu dot org
- Date: 8 Apr 2001 10:16:02 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: lerdsuwa at gcc dot gnu dot org
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