Turn a Ref returning input range into a PTR one.
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.
See Implementation
Turn a Ref returning input range into a PTR one.
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.