<div class="gmail_quote">On Fri, Jul 13, 2012 at 10:55 PM, Christophe Travert <span dir="ltr"><<a href="mailto:travert@phare.normalesup.org" target="_blank">travert@phare.normalesup.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"Era Scarecrow" , dans le message (digitalmars.D:172272), a écrit :<br>
<div class="im">>   Then perhaps have the inherited class within fruit?<br>
><br>
> class Fruit {<br>
>    class Seed {}<br>
>    class Appleseed : Seed {}<br>
> }<br>
<br>
</div>But then AppleSeed doesn't know about Apple....<br>
<br>
</blockquote></div><br>Right. And Fruit.Seed can't know about Apple either, because there are tons of fruits like Apple, each of which can have tons of different Seeds.<div>I really didn't get why my original example didn't make sense.</div>
<div><div><br></div>-- <br>Bye,<br>Gor Gyolchanyan.<br>
</div>