Multiple template variadic list not working

bastien penavayre via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 21 08:35:55 PDT 2017


On Sunday, 21 May 2017 at 15:30:38 UTC, Stanislav Blinov wrote:
>
> In this case, eponymous template should do the trick:
>
> template func(UserArgs...) {
>     void func(Arguments...)(Arguments args) {}
> }

Ah I see, I didn't know of this technique.
Thanks.


More information about the Digitalmars-d-learn mailing list