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

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 21 00:56:12 PST 2014


"Walter Bright"  wrote in message news:m4mua1$shh$1 at digitalmars.com...

> Presumably read() will throw if the size is larger than it can handle. If 
> it doesn't, this code is not buggy, but read() is.

You're right, but that's really not the point. 



More information about the Digitalmars-d mailing list