Function ptrInputRange

Turn a Ref returning input range into a PTR one.

auto auto ptrInputRange(Range) (
  Range range
)
if (isRefInputRange!Range);

auto auto ptrInputRange(T) (
  T[] slice
);

This is useful for using ranges iterating @disable this(this) types with Phobos, that requires front to be copyable in order to recognize a range as an input range.