"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....
"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....