Boost logo

Boost Users :

Subject: Re: [Boost-users] [Iterator] advance and random_access_traversal iterators
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-01-11 09:15:12


At Tue, 28 Dec 2010 10:59:05 -0500,
Anthony Foglia wrote:
>
> 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?

Probably just fell through the cracks, which have grown rather large,
I'm afraid.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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