Just where has this language gone wrong?

Stuart stugol at gmx.com
Tue Jul 24 07:57:08 PDT 2012


On Tuesday, 24 July 2012 at 14:50:02 UTC, Regan Heath wrote:
> On Tue, 24 Jul 2012 15:42:19 +0100, Stuart <stugol at gmx.com> 
> wrote:
>
>> You mean it's already supported? Nice! Although, It'd still be 
>> awesome to be able to do things like:
>>
>>    auto a,b = bar();
>>
>>    auto c,_ = bar();
>
> Sadly the comma operator (inherited from C/C++) blocks this 
> syntax.

Well, how about "auto {a,b} = ", or "auto [a,b] = ", or something 
like that?


More information about the Digitalmars-d mailing list