More range woes: std.array.save is invalid
Jonathan M Davis
jmdavisProg at gmx.com
Thu Dec 20 00:08:24 PST 2012
On Wednesday, December 19, 2012 23:44:12 H. S. Teoh wrote:
> Yes, which means many current algorithms that take a range of ranges and
> returns a wrapper range are wrong, because they assume that the wrapper
> range can be a forward range when both the container and the subranges
> are forward ranges, but this is not a sufficient condition in the
> general case.
Then they have bugs in their implementation which need to be fixed. There's
nothing wrong with std.array.save. It's doing the right thing.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list