The stately := operator feature proposal
Timon Gehr
timon.gehr at gmx.ch
Thu May 30 13:22:40 PDT 2013
On 05/30/2013 09:57 PM, ixid wrote:
>> this functionality. It's just that the syntax for auto doesn't fit the
>> OP's
>> tastes.
>>
>> - Jonathan M Davis
>
> As in Go this would potentially allow tuple assignments in a way that
> auto does not.
>
> x, string y := awesomeFunction();
auto (x, string y) = awesomeFunction();
(There is a pull request for that iirc.)
More information about the Digitalmars-d
mailing list