Weird issue with std.range.iota.length

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 11 22:21:45 PST 2016


On 12/02/16 7:19 PM, Meta wrote:
> On Friday, 12 February 2016 at 05:59:32 UTC, Rikki Cattermole wrote:
>> So I assume if you compiled as 64bit this will work then?
>
> Yes, because `unsigned(begin - end)` will yield a ulong regardless, but
> size_t will then be a ulong as well.

So an edge case.


More information about the Digitalmars-d mailing list