On Thursday, 19 June 2014 at 09:16:07 UTC, Tomer Filiba wrote:


I tried `F(inst, args)` or `inst.F(args)` but they don't work... what I need is the inverse of UFCS (e.g., `func(inst,1,2,3) ==> inst.func(1,2,3)`)

Is there any way to overcome this?

Thanks,
-tomer

Did you try: mixin("inst.f(args)");?

You would need to replace f with the correct function name, i guess.

Reply via email to