Killing the comma operator

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu May 12 03:31:58 PDT 2016


On 5/11/16 7:46 PM, Nick Treleaven wrote:
> In places where the comma operator does help,  use a comma(expr,result)
> template function

Better yet instead of

e1, e2, e3

type

{ e1; e2; return e3; }()


Andrei



More information about the Digitalmars-d mailing list