Boost logo

Boost :

Subject: Re: [boost] Dependency report
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2017-07-18 08:33:54


On 07/18/17 03:44, Michel Morin via Boost wrote:
> Andrey Semashev wrote:
>> Strictly speaking, boost::next/prior is not tied to iterators; it is
>> compatible with any type that has the necessary operators (e.g. integers).
>
> Is it possible to deprecate the use of boost::next/prior for non-iterator types?

It is possible, but I'm not sure why we would do that. What is the
problem that we're trying to solve?


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