Boost logo

Boost Users :

Subject: [Boost-users] [Iterator] advance and random_access_traversal iterators
From: Anthony Foglia (AFoglia_at_[hidden])
Date: 2010-12-28 10:59:05


What happened to the patch to add a boost::advance function designed to
work with Boost.Iterator's concepts?

Three years ago there was a thread pointing out the problem with
std::advance not treating random access traversal iterators as random
access (because of the reference type). Sebastian Redl posted a patch
to add a boost::advance (and boost::distance) function.
<http://lists.boost.org/Archives/boost/2007/09/127785.php> I don't see
any proof of this patch ever being applied.

Someone filed a bug report two years ago to bring attention to the
patch, and it still hasn't been applied.
<https://svn.boost.org/trac/boost/ticket/2539>

Is there a reason it hasn't been applied (the collision with the
boost::distance supplied by Boost.Range?) or has it just fallen through
the cracks?

-- 
Anthony Foglia
Princeton Consultants
(609) 987-8787 x233

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