Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 1996 00:08:11 -0400 (EDT)
From:      Ken Wong <wong@wong.rogerswave.ca>
To:        Sean Kelly <kelly@fsl.noaa.gov>
Cc:        Nate Williams <nate@mt.sri.com>, hackers@FreeBSD.org
Subject:   Re: C++ question
Message-ID:  <Pine.BSF.3.91.961018000021.361A-100000@wong.rogerswave.ca>
In-Reply-To: <3266CD1E.41C67EA6@fsl.noaa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 17 Oct 1996, Sean Kelly wrote:

> Nate Williams wrote:
> 
> > I agree, but the compiler notes explicitly (well, not so explicitly) say
> > that newer C++ standards don't allow this.
> 
> Curious.  I'm out of touch with the standards ... do you know why it
> wouldn't be allowed (or would care to speculate)?

A is a private member type of class foo. in theory, it cannot be used inside
of B as B is a class in its own right.

to solve the problem struct A needed to be public.

				Ken



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961018000021.361A-100000>