Choosing arity of a template function
Meta via Digitalmars-d
digitalmars-d at puremagic.com
Thu Mar 3 11:54:28 PST 2016
On Friday, 26 February 2016 at 23:09:52 UTC, Andrei Alexandrescu
wrote:
> So, what's an elegant solution to this? I looked up std.traits
> but nothing seems to help. (Tried arity, no avail.)
There's this[1] PR which implements exactly what you want, but
it's currently not passing the auto-tester.
1. https://github.com/D-Programming-Language/dmd/pull/5201
More information about the Digitalmars-d
mailing list