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++/11952] REGRESSION: friend declaration handled as function call concerning access.


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.


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