'int' is enough for 'length' to migrate code from x86 to x64

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 20 19:13:43 PST 2014


On 11/20/2014 3:37 PM, FrankLike wrote:
>
>> What about:
>>
>>     uint x;
>>     auto z = x - 1;
>>
>> ?
>
> When mixing signed and unsigned, as signed, it maybe no mistaken.

I think you missed my question - is that legal code under H.S.Teoh's proposal?



More information about the Digitalmars-d mailing list