
15 Feb
2009
15 Feb
'09
10:15 a.m.
on Sat Feb 14 2009, "Brandon Kohn" <blkohn-AT-hotmail.com> wrote:
Looking further I found a document in the Boost.Iterator library defining "New Iterator Concepts" ( see: http://www.boost.org/doc/libs/1_38_0/libs/iterator/doc/new-iter-concepts.htm... ) . This document seems to define exactly what I need which is the separation of traversal behavior from access behavior.
FWIW, the specific breakdown of concepts in that document has been superceded by the one proposed for C++0x: www.open-std.org/JTC1/sc22/wg21/docs/papers/2008/n2500.pdf I think ShuffleIterator may be modified to refine ForwardIterator instead of InputIterator. I really need to update the iterators library. -- Dave Abrahams BoostPro Computing http://www.boostpro.com