[Bug c++/24629] Can't use template argument as friend
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 15 00:13:00 GMT 2011
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 ***
More information about the Gcc-bugs
mailing list