This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Clarification regarding a non-bug in gcc.gnu.org
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Hariharan S <hariharan at csa dot iisc dot ernet dot in>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 20 Aug 2003 12:55:37 +0100
- Subject: Re: Clarification regarding a non-bug in gcc.gnu.org
- Organization: Codesourcery LLC
- References: <Pine.LNX.4.44.0308201652290.10584-100000@deimos.csa.iisc.ernet.in>
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