Nested Base classes
Jarrett Billingsley
jarrett.billingsley at gmail.com
Tue Dec 9 12:12:36 PST 2008
On Tue, Dec 9, 2008 at 2:08 PM, llee <larry at workingwondersus.com> wrote:
> I'm trying derive a class from a nested base class. The programs' structure is as follows:
>
> class A
> {
> class B
> {
> }
> }
>
> class C : A
> {
> class D : B
> {
> }
> }
>
> I'm using version 2.014 of the dmd compiler, and the above fails. The compiler error reports that B is nested in class A and not C. Does anyone know a work around?
>
It's not possible, and I doubt it ever will be.
More information about the Digitalmars-d-learn
mailing list