Weird issue with std.range.iota.length
Meta via Digitalmars-d
digitalmars-d at puremagic.com
Thu Feb 11 22:22:38 PST 2016
On Friday, 12 February 2016 at 06:21:45 UTC, Rikki Cattermole
wrote:
> 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.
Yes, it's an edge case, although it's a pretty easy one to run
into.
More information about the Digitalmars-d
mailing list