Subject: Re: [boost] Dependency report
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2017-07-17 17:46:25


On 07/17/17 16:29, Peter Dimov via Boost wrote:
>> http://pdimov.com/tmp/report-develop-6db78a0a6/module-levels.html
>
> One obvious low-hanging fruit here is moving <boost/next_prior.hpp> from
> utility to iterator, breaking the utility -> iterator edge; I think this
> was discussed recently?

I don't think it was (or may be I missed it).

Strictly speaking, boost::next/prior is not tied to iterators; it is
compatible with any type that has the necessary operators (e.g.
integers). Although the use case with iterators is probably the most
frequent.