On Sunday, 31 May 2015 at 04:08:33 UTC, ketmar wrote:
and this:
  void test(A...) (A a) {
    import std.stdio;
    foreach (auto t; a) writeln(t);
  }

  void main () {
    test(x: 33.3, z: 44.4, a: 9999, 7777, d:"Yehaw");
  }

I like the idea of a template-variadic keyword arguments, but does it have to have the exact same syntax as template-variadic positional arguments? What will happen to functions that expect positional variadic arguments and get invoked with keyword variadic arguments instead?

Reply via email to