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

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 21 08:57:16 PST 2014


On Fri, 21 Nov 2014 08:31:13 -0800
Andrei Alexandrescu via Digitalmars-d <digitalmars-d at puremagic.com>
wrote:

> Would you agree that that would break a substantial amount of correct D 
> code? -- Andrei
i don't think that code with possible int wrapping and `auto` is
correct, so the answer is "no". bad code must be made bad.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141121/db90e1d6/attachment.sig>


More information about the Digitalmars-d mailing list