[Boost-bugs] [Boost C++ Libraries] #9679: documentation about bidirectional iterator

Subject: [Boost-bugs] [Boost C++ Libraries] #9679: documentation about bidirectional iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-18 13:34:57


#9679: documentation about bidirectional iterator
-------------------------------------------------+-------------------------
 Reporter: Stefaan Verstraeten | Owner: matias
  <stefaan.verstraeten@…> | Status: new
     Type: Bugs | Component:
Milestone: To Be Determined | Documentation
  Version: Boost 1.54.0 | Severity: Cosmetic
 Keywords: |
-------------------------------------------------+-------------------------
 http://www.boost.org/doc/libs/1_55_0/doc/html/BidirectionalIterator.html
 states:

 Precondition of predecrement: "i is incrementable (not off-the-end) and
 some dereferenceable iterator j exists such that i == ++j"

 This can be interpreted that end() iterator can not be decremented, which
 according to other sources you can do.

 http://stackoverflow.com/a/5322234/104774 references "ISO/IEC 14882:2003
 C++ Standard 23.1.1/12 – Sequences"

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