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
Nordlöw via Digitalmars-d-learn Sat, 18 Jun 2016 01:21:08 -0700
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