This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52212] friend declaration doesn't see previous friend of same function
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 12 Feb 2012 15:02:22 +0000
- Subject: [Bug c++/52212] friend declaration doesn't see previous friend of same function
- Auto-submitted: auto-generated
- References: <bug-52212-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52212
--- Comment #3 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2012-02-12 15:02:22 UTC ---
My quoted phrase doesn't actually say that (nominated refers to the befriended
name). But 11 p4 can be applied here:
"Access control is applied uniformly to all names, whether the names are
referred to from declarations or expressions."