Open invitation for Kenji Hara
Peter Alexander
peter.alexander.au at gmail.com
Fri Oct 8 05:32:16 PDT 2010
== Quote from Eric Poggel (dnewsgroup2 at yage3d.net)'s article
> Is this duck-typing for D?
It looks more like something that would allow you to take a non-
polymorphic class and make it polymorphic. e.g. you have a Square
class and a Circle class, both with a draw() method, but with no
common base class. This takes these classes and make them
polymorphic on some interface so that you can call draw() with
dynamic dispatch.
More information about the Digitalmars-d
mailing list