auto m = (&r).map!(a=>1); ...? (Untested, but I think it should work.)
Or RefRange https://issues.dlang.org/show_bug.cgi?id=10888 :)
auto m = (&r).map!(a=>1); ...? (Untested, but I think it should work.)
Or RefRange https://issues.dlang.org/show_bug.cgi?id=10888 :)