Check the class of objects

mael mael.primet at gmail.com
Sat Jun 7 01:13:50 PDT 2008


Actually, this wouldn't be the right solution,
because the doSomething action is specific to a particular algorithm, and there will be tens of such algorithms, and I don't want to clutter the main class with parts of algorithms adapted to each class...
 


More information about the Digitalmars-d-learn mailing list