More range woes: std.array.save is invalid
monarch_dodra
monarchdodra at gmail.com
Wed Dec 19 23:28:10 PST 2012
On Thursday, 20 December 2012 at 07:05:08 UTC, H. S. Teoh wrote:
> What is wrong here is that many algorithms in std.range and
> std.algorithm wrongly assume that just because the outer range
> (that is,
> T[]) is a forward range, *and* the inner ranges (that is, T)
> are also
> forward ranges, that therefore T[].save will save the current
> position
> of the *range of ranges*.
Most probably, algorithm is still not quite great about using
save. This is especially true in regards to RoR, but that's a
special case, and we are fixing those one by one.
More information about the Digitalmars-d
mailing list