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

greenify <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from greenify <[email protected]> ---
> Except it doesn't work. When each accepts the iterable, it accepts it by 
> value. It should accept it by reference (if it's a class, it could take the 
> class reference by value). Otherwise, the point of using ref throughout each 
> is kind of useless.

A simple solution with `auto ref` for Iterables:

https://github.com/dlang/phobos/pull/4991

--

Reply via email to