On 2/13/20 12:24 PM, Steven Schveighoffer wrote:
But this means you have an additional function call (which could of course be inlined).

And I might add, an additional requirement to declare some other template (one of the huge drawbacks of std.meta, IMO).

Some syntax like expr(someTuple)... would be really cool to have in D.

Or something like arg => expr syntax for templates might be useful:

f(staticMap!(!a => foo(a), args)); // look ma, anonymous template!

-Steve

Reply via email to