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++/17210] Erroneous behaviour of friend declaration


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-27 08:42 -------
Not a bug and a dup of bug 11952.
>From that dup bug:
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.

*** This bug has been marked as a duplicate of 11952 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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