Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::transform_iterator, boost::array::iterator and category
From: Hicham Mouline (hicham_at_[hidden])
Date: 2009-04-03 13:41:44


>Hello
>Following my previous post,
>the transformed iterator has input iterator tag (not forward, not bidir,
not random)
>BOOST_STATIC_ASSERT((
> boost::is_convertible<
> iteratorIntoFirst,
> std::input_iterator_tag
>>::value ));

>But it should be random_access... Is there anything extra I need to put in
the Unary fct of
>transform_iterator?
>Rds,

There seems to be some boost::random_access_traversal_tag, and the static
assert works with this tag???

Why isn't boost::random_access_traversal_tag equivalent to
std::random_access_iterator_tag ?

Rds,


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