This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23886] friend in containing namespace is not found
- From: "assar at kth dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2005 20:49:06 -0000
- Subject: [Bug c++/23886] friend in containing namespace is not found
- References: <20050914191558.23886.assar@kth.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From assar at kth dot se 2005-09-14 20:49 -------
Subject: Re: friend in containing namespace is not found
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> Not a bug, as "friend class A;" refers to Foo::Bar::A and not Foo::A
> as defined by the C++ standard.
Thanks for the feedback. Do you happen to have a pointer to where
this behavior is defined?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23886