On 1/15/15 12:53 PM, H. S. Teoh via Digitalmars-d wrote:
Passing a range to a
function may invalidate it unless you use .save.  Therefore, one should
*always*  use .save.

That's right. To simplify the problem space we might decree that forward (or better) ranges with reference semantics are not allowed. -- Andrei

Reply via email to