Subject: [Boost-bugs] [Boost C++ Libraries] #7731: irange doesn't end iteration properly when step_size is 3 or more
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-25 08:07:16
#7731: irange doesn't end iteration properly when step_size is 3 or more
------------------------------+---------------------------------------------
Reporter: mazay0@⦠| Owner: neilgroves
Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.52.0 | Severity: Showstopper
Keywords: |
------------------------------+---------------------------------------------
The code
std::cout << boost::irange(0, 10, 3) << std::endl;
prints "036" instead of "0369".
Similar (but another) bug: https://svn.boost.org/trac/boost/ticket/5544
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7731> 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:11 UTC