static vs non-static

Zhenya zheny at list.ru
Sun Jan 13 08:42:27 PST 2013


On Sunday, 13 January 2013 at 16:39:22 UTC, bearophile wrote:
> Maxim Fomin:
>
>> dmd allows to call static functions on instance.
>
> I think that's a D design mistake (and I think Jonathan Davis 
> agrees with me), but Walter prefers the current behavour.
>
> Bye,
> bearophile

Maybe you could suggest some workaround?
for example I tried to use global function,but
in that case it never will be executed...


More information about the Digitalmars-d-learn mailing list