Why do std.traits use template foo(args...) instead of foo(alias arg) ?
Dicebot via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Dec 18 10:19:23 PST 2014
On Thursday, 18 December 2014 at 17:20:28 UTC, Mathias LANG wrote:
> Thanks for the precision. Is it something that is going to be
> fixed, or is it by design ?
It is something that most likely would have been designed
differently if we had another chance (aka D3) but unlikely to
change in D2 as existing pattern works good enough in practice.
It is confusing but usually only needed for power user libraries
thus learning curve impact is low.
More information about the Digitalmars-d-learn
mailing list