On 11/6/12 3:06 AM, H. S. Teoh wrote:
I've already given a number of non-trivial examples of transient forward ranges, and apparently deadalnix has also encountered the same issue.
I'd like to build more of this argument. I pointed out that your range is actually defining .dup, not .save. I think an argument can be made that forward ranges with transient .front do not qualify as forward ranges, seeing as a forward range is modeled after a list that actually has data sitting in memory.
Andrei