
20 Nov
2007
20 Nov
'07
1:21 a.m.
Eric Niebler wrote:
There are some surprisingly thorny issues wrt range-based algorithms, which I list in the appendix of the range_ex docs. In particular, does an "output range" make sense? Range_ex uses output iterators instead of output ranges. At the time, I thought that was unsatisfactory. Less so now, but it's still an open issue.
OutputIterator doesn't have an end iterator. So, I think OutputIterator can't be a range. I tend to think OutputIterator is not even Iterator, per se. BTW, infinite range is possible. Regards, -- Shunsuke Sogame