No mass assignments for tuples
    Simen Kjærås 
    simen.kjaras at gmail.com
       
    Sun Dec 11 23:21:34 PST 2011
    
    
  
On Mon, 12 Dec 2011 03:31:29 +0100, Timon Gehr <timon.gehr at gmx.ch> wrote:
> On 12/12/2011 12:23 AM, Simen Kjærås wrote:
>> On Sat, 10 Dec 2011 15:46:15 +0100, bearophile
>> <bearophileHUGS at lycos.com> wrote:
>>
>>> 46 + auto (i, j) = 10;
>>> 47 + assert(i == 10);
>>> 48 + assert(j == 10);
>>
>> Yeah, this is not good. Also, didn't we settle for (auto i, j)?
>
> AFAIK the patch implements both, and I think that is the way it should  
> be.
As do I, but I think (auto i, j) is the most important of the two.
    
    
More information about the Digitalmars-d
mailing list