https://issues.dlang.org/show_bug.cgi?id=16034
ZombineDev <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from ZombineDev <[email protected]> --- IMO, the language limitation that ref is not part of the type (but is instead only a storage class), prevents making ranges work (among other things) work with non-copyable types. If that wasn't the case ElementType!(One[]) could return ref(One), and you could use map with a lambda whose paramter is ref(One). --
