Walter, I need a __trait please.

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 15 03:17:26 PDT 2016


> foreach (p;__traits(lambda, (x,y) => x < y)) {
>  writeln(p);
> }
>
> would output
> x
> y
> x < y

If something like that would be merged I can implement this now I 
guess.
thanks for the PR link Jacob




More information about the Digitalmars-d mailing list