Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11558: boost transform iterator doesn't work with libc++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-20 11:22:17
#11558: boost transform iterator doesn't work with libc++
-------------------------------+------------------------------
Reporter: rnickb731@⦠| Owner: jeffrey.hellrung
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: iterator
Version: Boost 1.57.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+------------------------------
Changes (by michel):
* status: new => closed
* resolution: => invalid
Comment:
Your iterator is `InputIterator` (note: `reference` type of the iterator
is `int`)
but `std::next` requires `ForwardIterator`.
Thus, the compilation fails if stdlib explicitly checks iterator
requirements.
So this is not a bug of Boost.Iterator and one can use `boost::next` in
`<boost/next_prior.hpp>` to avoid this problem.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11558#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC