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);