nested class inheritance

Christophe Travert travert at phare.normalesup.org
Fri Jul 13 11:55:28 PDT 2012


"Era Scarecrow" , dans le message (digitalmars.D:172272), a écrit :
>   Then perhaps have the inherited class within fruit?
> 
> class Fruit {
>    class Seed {}
>    class Appleseed : Seed {}
> }

But then AppleSeed doesn't know about Apple....



More information about the Digitalmars-d mailing list