RE: Befriending a private member function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux