dynamic classes and duck typing

Walter Bright newshound1 at digitalmars.com
Mon Nov 30 14:39:26 PST 2009


Simen kjaeraas wrote:
> It would seem Walter is right, but only for opDispatch. This compiles
> fine. If you want compile errors, move the ellipsis around:

Hmm, looks like there is a problem, but it has nothing to do with 
opDispatch, as this:

     void bar(string s, T...)(T args)

doesn't work either.



More information about the Digitalmars-d mailing list