Boost logo

Boost :

Subject: Re: [boost] [iterator][range] BoostIteratorTraversalConcepts-aware boost::advance/distance
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2017-06-29 05:19:31


2017-06-29 2:35 GMT+02:00 Michel Morin via Boost <boost_at_[hidden]>:

> > They are necessary for Boost to be consistent. But I think this means
> > coupling two libraries.
>
> Do you mean coupling of Boost.Iterator and Boost.Range? I think that would
> be fine, since Boost.Range already couples with Boost.Iterator.
> Boost.Range's `boost::distance` should call Boost.Iterator's
> `boost::distance`.
>

I meant `next()` and `prior()` that are located in Utility:
http://www.boost.org/doc/libs/1_64_0/libs/utility/utility.htm

Regards,
&rzej;


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk