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++/21092] friend inaccessibility


------- Additional Comments From kreckel at ginac dot de  2005-04-18 21:04 -------
(In reply to comment #3)
> This sentence just says that you can't do this: 
>   class A { private: struct I{}; }; 
>   class B { friend class A::I;   }; 
> because A::I isn't accessible in B. 

Where's that snippet from?  As it stands, it's out of any context whatsoever.

-- 


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


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