DIP42 - Add enum E(T) = expression; eponymous template support

Martin Nowak code at dawg.eu
Sun Jul 21 18:24:51 PDT 2013


On 06/26/2013 12:15 AM, bearophile wrote:
> But it's not immediate to assign a generic lambda:
>
> alias sum = (x, y) => x + y;
>
> Bye,
> bearophile

http://d.puremagic.com/issues/show_bug.cgi?id=9426



More information about the Digitalmars-d mailing list