[Boost-bugs] [Boost C++ Libraries] #12166: multi_pass_iterator comparisons should be const

Subject: [Boost-bugs] [Boost C++ Libraries] #12166: multi_pass_iterator comparisons should be const
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-04-28 06:21:22


#12166: multi_pass_iterator comparisons should be const
------------------------------+---------------------
 Reporter: edaskel@… | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 Some, but not all, comparison operators of multi_pass_iterator are const.
 Specifically == and < are const, but !=, >, >=, and <= are not. You can
 see this
 [https://github.com/boostorg/spirit/blob/develop/include/boost/spirit/home/support/iterators/multi_pass.hpp#L137-166
 here]

 This causes compile errors when multi_pass_iterator users try the common
 (it != end) idiom.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12166>
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:20 UTC