On Friday, 30 March 2018 at 15:49:30 UTC, jmh530 wrote:
On Friday, 30 March 2018 at 15:21:26 UTC, jmh530 wrote:
[snip]


Doesn't extend to multiple template parameters that well...
[snip]

This works, but ugly...

template testFunction(T, U = TestAlias!T, alias V = TemplateOf!(U), W = TemplateArgsOf!U[1])
{
    void testFunction(V!(T, W) arg) {}
}


Reply via email to