clear initializing constructor

Saaa empty at needmail.com
Mon Aug 4 14:21:25 PDT 2008


>
> But the static struct has to be filled by constants..
Yeah, not too usefull for my program :)

>
> But it sounds like you might be better off using inheritance..
> create a base Fruit class that you inherit and modify needed data..
>

Will that not take just as much code as modifying the needed data within the 
objects?
Or aren't I getting it :)
All permutations of possible settings should be possible.




More information about the Digitalmars-d-learn mailing list