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 10:22:09


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,


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