Multiple dispatch in lib was Re: Old comments about Java
Adam D. Ruppe
destructionator at gmail.com
Sun Apr 24 08:53:05 PDT 2011
KennyTM~ wrote:
> I think these should be static functions?
At first my idea was free functions, but getOverloads only works with
classes, so I pasted them in without really thinking about it.
But yes, I think you're right.
> BTW, you toy example is way too long. 40 lines of template mixin
> is enough:
Heh, that's awesome. Thanks!
More information about the Digitalmars-d
mailing list