The stately := operator feature proposal

MrzlganeE bulletproofchest at gmail.com
Thu May 30 12:08:34 PDT 2013


The := operator can allow a special behavior,
Declaring+defining multiple values from a single return:

x, y, z := f();

/

auto x = f(), y = f(), z = f();
auto x = f(); auto y = x, z = x;


More information about the Digitalmars-d mailing list