[Boost-bugs] [Boost C++ Libraries] #5544: irange doesn't end iteration properly when step_size is 2 or more

Subject: [Boost-bugs] [Boost C++ Libraries] #5544: irange doesn't end iteration properly when step_size is 2 or more
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-16 03:35:55


#5544: irange doesn't end iteration properly when step_size is 2 or more
------------------------------+---------------------------------------------
 Reporter: hotwatermorning | Owner: neilgroves
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
  Version: Boost 1.46.1 | Severity: Showstopper
 Keywords: |
------------------------------+---------------------------------------------
 The code
 {{{
 std::cout << boost::irange(0, 9, 2) << std::endl;
 }}}

 prints "0246" instead of "02468".

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