Timon Gehr:

x, string y := awesomeFunction();

auto (x, string y) = awesomeFunction();

(There is a pull request for that iirc.)

At this point I suggest to not add that patch to D because tuples need a better rounded design.

Using the last syntax suggested today that becomes:

t{auto x, string y} = awesomeFunction();

Bye,
bearophile

Reply via email to