Boost logo

Boost :

Subject: Re: [boost] Fusion + New Iterator Concepts?
From: David Abrahams (dave_at_[hidden])
Date: 2009-02-15 05:15:38


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.html ) . 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

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