|
Boost Users : |
Subject: Re: [Boost-users] [MultiIndex] As if one iterator
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2010-06-10 16:31:06
Filip KonviÄka <filip.konvicka <at> logis.cz> writes:
>
> > adobe::any_iterator<T,std::bidirectional_iterator_tag>
> >
> > is the same as
> >
> > adobe::bidirectional_iter<T>
> >
> > so the migration to the new interface should be straightforward.
>
> I'm using MSVC 2010 for the experiment, if that matters... Using
> adobe::bidirectional_iter gives me
>
> adobe\any_iterator.hpp(154): error C2675: unary '--' :
> 'boost::multi_index::detail::hashed_index_iterator<Node,BucketArray>'
> does not define this operator or a conversion to a type acceptable to
> the predefined operator
Expected, since hashed index iterators are not bidirectional,
only forward.
>
> Using adobe::iter gives me:
>
> adobe\any_iterator.hpp(63): error C2039: 'interface_ref' : is not a
> member of 'adobe::poly_iterator_instance<V,R,D>::type<I>'
I think this is a bug with adobe::iter. I've filed a bug report at
http://tinyurl.com/2ubs9z2 .
JoaquÃn M López Muñoz
Telefónica, Investigación y Desarrollo
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net