[Bug c++/11952] REGRESSION: friend declaration handled as function call concerning access.
carlo at alinoe dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 16 23:06:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11952
carlo at alinoe dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From carlo at alinoe dot com 2003-08-16 23:06 -------
Sorry,... this is not a bug it seems.
According to the standard [class.friend] 11.4 Friends
7 A name nominated by a friend declaration shall be accessible in the scope of
the class containing the friend declaration. The meaning of the friend
declaration is the same whether the friend declaration appears in the private,
protected or public (9.2) portion of the class member-specification.
More information about the Gcc-bugs
mailing list