No mass assignments for tuples

Simen Kjærås simen.kjaras at gmail.com
Sun Dec 11 15:23:57 PST 2011


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)?


More information about the Digitalmars-d mailing list