On Wednesday, 29 July 2015 at 20:20:47 UTC, Adel Mamin wrote:
void my_func(auto arr)
{
  writeln(arr);
}

There are no `auto` parameters in D. You have to make it a template explicitly:

----
void my_func(A)(A arr)
{
  writeln(arr);
}
----

Reply via email to