access subclass functions

Kagamin spam at here.lot
Thu Nov 20 06:46:25 PST 2008


Saaa Wrote:

> In stead of numbers I use an enum, which makes it really difficult to get 
> this wrong:
> fruits[BANANA].peel();

why not using struct?


More information about the Digitalmars-d-learn mailing list