On 03/03/2016 02:54 PM, Meta wrote:
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

Thanks! That will push introspection considerably further. I toggled auto-pull. -- Andrei

Reply via email to