This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45064] friends of nested classes don't see outer classes
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Aug 2010 22:20:53 -0000
- Subject: [Bug c++/45064] friends of nested classes don't see outer classes
- References: <bug-45064-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2010-08-10 22:20 -------
The error message is correct f1::f2 is not accessible outside of f1 unless it
is a friend of f1 and then f1::f2::f3 is not accessible inside f1 unless f1 is
a friend of f1::f2.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45064