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]

Re: Clarification regarding a non-bug in gcc.gnu.org


Hariharan S wrote:
Hi,
I visited gcc.gnu.org page. In that page under the heading Non-bugs it is written that "Nested classes can access private types of the containing class". This is incorrect and I referred the book C++ Primer by Stanley B. Lippman & Josie Lajoie. I also sent a mail to Bjarne Stroustrup regarding this. He also said that what is given in the webpage is incorrect. He asked you to refer section 9.7 of the standard. Given below is the reply to my question regarding this. If my understanding of the statement in the page is incorrect please give me an example.
you did not read the second sentance.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
         The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



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