interface function overloading

bearophile bearophileHUGS at lycos.com
Sun Jan 9 02:22:42 PST 2011


%u:

>   func(cast(I2)(new C()));

That code smells a bit (http://en.wikipedia.org/wiki/Code_smell ).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list