Should r.length of type ulong be supported on 32-bit systems?
Ilya Yaroshenko via Digitalmars-d
digitalmars-d at puremagic.com
Sat Oct 1 02:06:41 PDT 2016
On Saturday, 1 October 2016 at 08:09:45 UTC, Jonathan M Davis
wrote:
> On Friday, September 30, 2016 22:31:23 Andrei Alexandrescu via
> Digitalmars-d wrote:
>> [...]
>
> Every time this comes up, I strongly argue in favor of
> requiring that length be size_t. Occasionally, that restriction
> is annoying, but allowing anything else plays havoc with
> generic code. It's even worse when you have to start dealing
> with the fact that the same code needs to compile and function
> the same on both 32-bit and 64-bit systems.
>
> [...]
+1
More information about the Digitalmars-d
mailing list