Weird issue with std.range.iota.length

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 12 11:20:29 PST 2016


On 02/12/2016 02:18 PM, Meta wrote:
> On Friday, 12 February 2016 at 19:00:29 UTC, Andrei Alexandrescu wrote:
>> Tried that for a while, it quickly became a mess of entangled
>> intestines. Not worth it. -- Andrei
>
> What do you think of the solution I proposed above? It's not pretty but
> there has to be some kind of workaround. Not being able to use
> `parallel` with an iota-range of ulongs on 32-bit DMD is not good. If
> you will pre-approve it (comments/suggestions optional) I can submit a
> PR within the next day or so.

I'd be more partial to an additional template parameter. Or even change 
the type of length in certain cases. -- Andrei


More information about the Digitalmars-d mailing list