On Friday, 17 June 2016 at 21:20:01 UTC, Timon Gehr wrote:
void foo(T[] a...)@nogc{}

void bar()@nogc{
    foo(1,2,3);
}

Ahh, cool. I was completely unaware of this feature.

Doc here: https://dlang.org/spec/function.html#typesafe_variadic_functions

Reply via email to