Jonathan M Davis <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from Jonathan M Davis <> 2012-05-09 02:43:39 
PDT ---
Hmmm. Well, joiner takes a range of _input ranges_, not forward ranges, so it
_can't_ use save on the inner ranges (though it does define save if the input
ranges happen to be forward ranges).

This assertion passes:

    assert(equal(joiner([inputRangeObject("ab"), inputRangeObject("cd")]),

So, it would seem that the problem is in It's probably assuming
that passing the range results in a copy (since it does with most ranges).

Truth be told, most range-based functions in Phobos aren't properly tested to
make sure that they work with ranges which are input ranges rather than forward
ranges or that they work with forward ranges which aren't copied when being
passed to functions.

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

Reply via email to