Mir Random [WIP]

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


On Wednesday, 23 November 2016 at 16:01:14 UTC, Ryan 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.)
>
> Tested, works with 2.071.1

r.randomRangeAdaptor.map!(a=>1);


More information about the Digitalmars-d mailing list