On 11/17/2013 08:41 PM, Simen Kjærås wrote:
I decided to abandon sanity. Luckily, only for the named parameters. I now have this code working: void test(int a, int b = 2, string c = "foo", int d = 14) { } alias test2 = nameify!test; void main() { test2(1, Args.d = 4, Args.c = "bar"); } With reasonable error messages for duplicate and missing parameters, as well as type mismatches. ...
Still missing overload resolution. :o)