Mir Random [WIP]

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 23 08:03:29 PST 2016


On Wednesday, 23 November 2016 at 15:59:39 UTC, Kagamin wrote:
> On Wednesday, 23 November 2016 at 15:44:10 UTC, Joseph Rushton 
> Wakeling wrote:
>> auto m = (&r).map!(a=>1);
>>
>> ...?  (Untested, but I think it should work.)
>
> Or RefRange https://issues.dlang.org/show_bug.cgi?id=10888 :)

What the principal difference with randomRangeAdaptor? Anyway, 
noncopyable input range con not be used with Phobos. --Ilya


More information about the Digitalmars-d mailing list