Weird issue with std.range.iota.length

Meta via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 12 11:22:01 PST 2016


On Friday, 12 February 2016 at 19:20:29 UTC, Andrei Alexandrescu 
wrote:
> 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

Okay, I will look into other solutions and post some options soon.


More information about the Digitalmars-d mailing list