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

Steven Schveighoffer <[email protected]> changed:

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

--- Comment #1 from Steven Schveighoffer <[email protected]> ---
Fully agree with this.

In fact, retro could accept any type that supports .retro(), even non-ranges.

I wonder if foreach_reverse could be specialized to call this on bidirectional
ranges...

Note, this is a similar pattern to 'put', I wonder if there is a commonality
here we can extract into a "D design pattern".

--

Reply via email to