Boost logo

Boost :

Subject: [boost] [iterators] zip_iterator requires random_access_iterator?
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2009-09-12 08:45:09

Hi Everyone,

According to the documentation

  All iterator types in the argument IteratorTuple shall model
Readable Iterator.

When I use a BidirectionalIterator (list<...>::iterator) zip_iterator
fails to compile, while when I use a RandomAccessIterator
(vector<...>) it compiles just fine. I have a nesting like this:


The first line in the error logs is:

/home/dean/boost/boost/iterator/detail/minimum_category.hpp: In
instantiation of ‘boost::detail::minimum_category_impl<false,

I'm using Boost SVN trunk updated to revision 56153 -- did I find a bug?


Dean Michael Berris | | |

Boost list run by bdawes at, gregod at, cpdaniel at, john at