[Issue 8061] std.algorithm.joiner breaks when used with InputRangeObject

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 10 09:39:55 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8061


hsteoh at quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh at quickfur.ath.cx


--- Comment #3 from hsteoh at quickfur.ath.cx 2012-10-10 09:15:48 PDT ---
Wait, if an inner range is not a forward range, then .save is invalid, because
if you call .save at one point, then advance the origin range, the inner ranges
may have been invalidated, so the .save'd range is invalid.

So .save should only be defined if both the outer range and the inner ranges
are forward ranges, IMO.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list