This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21092] friend inaccessibility
- From: "kreckel at ginac dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Apr 2005 21:04:16 -0000
- Subject: [Bug c++/21092] friend inaccessibility
- References: <20050418193748.21092.Ralf.Wildenhues@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kreckel at ginac dot de 2005-04-18 21:04 -------
(In reply to comment #3)
> This sentence just says that you can't do this:
> class A { private: struct I{}; };
> class B { friend class A::I; };
> because A::I isn't accessible in B.
Where's that snippet from? As it stands, it's out of any context whatsoever.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21092