--- Comment #3 from David Simcha <> 2010-08-29 21:33:04 PDT ---
Another use case for this is if you are iterating over something that may be
expensive to copy.  In these cases, doing foreach(elem; stuff) is inefficient
because it produces an unnecessary copy, but foreach(ref elem; stuff) isn't
generic enough because it won't work on ranges w/o lvalue elements.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to