Re: How to unpack template parameters,Or how to forward parameters?

2022-05-06 Thread zjh via Digitalmars-d-learn
On Friday, 6 May 2022 at 05:44:39 UTC, vit wrote: Try this: Very Good,Thank you very much!

Re: How to unpack template parameters,Or how to forward parameters?

2022-05-05 Thread vit via Digitalmars-d-learn
On Friday, 6 May 2022 at 00:41:18 UTC, zjh wrote: Hello everyone,I have following function: ```d import core.stdc.stdio; void f(int i,int j){ printf("%i,%i",i,j); } ``` I want to forward `int[N]` to `(int i,int j)` etc. How can I write a forwarding function? ```d void ff(alias