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.
bastien penavayre via Digitalmars-d-learn Sun, 21 May 2017 08:41:38 -0700
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.