This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52212] friend declaration doesn't see previous friend of same function


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52212

Daniel KrÃgler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler at
                   |                            |googlemail dot com

--- Comment #2 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2012-02-12 13:26:04 UTC ---
My reading of 11.3 p9, 

"A name nominated by a friend declaration shall be accessible in the scope of
the class containing the friend declaration."

tends to be that the example should ill-formed (D has no access to the name
D::E::F).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]