https://issues.dlang.org/show_bug.cgi?id=16034

ZombineDev <petar.p.ki...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |petar.p.ki...@gmail.com

--- Comment #2 from ZombineDev <petar.p.ki...@gmail.com> ---
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).

--

Reply via email to