Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-11-19 20:21:15


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk