This is the mail archive of the gcc-help@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]

RE: Befriending a private member function


Ian,

> > Could anybody give me a hint?
> 
> 
> ISO C++98 [friend.class] paragraph 7:
> 
>     A name nominated by a friend declaration shall be 
> accessible in the
>     scope of the class containing the friend declaration.

Thanks for pointing out. The Stroustrup book contains a wrong example.
I now found out, this is DR209 and GCC bug 7809:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7809
 
> Ian

Sorry for the noise.

Best,
BjÃrn!




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