
15 Nov
2004
15 Nov
'04
8:01 p.m.
John Torjo <john.lists@torjo.com> writes:
It maps ok with bidirectional/random access. If an iterator has a given iterator category, the range will preserve it. I have used it in code, and it's quite powerful.
Don't you need a current position, start and an end for bidirectional iteration? Forward "ranges" just get a current position and an end.
In my view, bidirectional means that the begin() iterator from the range can move both ways, and that it still has an end() of the range.
Why is it important to have an end but not to have a beginning? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com