[Bug c++/23886] friend in containing namespace is not found

assar at kth dot se gcc-bugzilla@gcc.gnu.org
Wed Sep 14 20:49:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list