This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24629] Can't use template argument as friend
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Feb 2011 23:08:02 +0000
- Subject: [Bug c++/24629] Can't use template argument as friend
- Auto-submitted: auto-generated
- References: <bug-24629-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24629
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |DUPLICATE
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-14 23:07:25 UTC ---
C++0x has changed the rules slightly and allows:
template<class T>
class Foo {
friend T;
};
But GCC does not implement this new rule yet. See 47721.
*** This bug has been marked as a duplicate of bug 47721 ***