Boost C++ Libraries: Ticket #5544: irange doesn't end iteration properly when step_size is 2 or more https://svn.boost.org/trac10/ticket/5544 <p> The code </p> <pre class="wiki">std::cout &lt;&lt; boost::irange(0, 9, 2) &lt;&lt; std::endl; </pre><p> prints "0246" instead of "02468". </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5544 Trac 1.4.3 hotwatermorning Mon, 16 May 2011 03:37:04 GMT attachment set https://svn.boost.org/trac10/ticket/5544 https://svn.boost.org/trac10/ticket/5544 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patch.txt</span> </li> </ul> <p> patch for irange.hpp </p> Ticket Neil Groves Sun, 22 May 2011 11:18:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5544#comment:1 https://svn.boost.org/trac10/ticket/5544#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Thanks for the defect report. Additional tests have been created, and a fix put into the code for boost trunk. The supplied patch would introduce a number of regressions, hence a different solution was employed. </p> Ticket Akira Takahashi(faithandbrave@… Sun, 22 May 2011 13:18:48 GMT <link>https://svn.boost.org/trac10/ticket/5544#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5544#comment:2</guid> <description> <p> This is broken change. It is necessary to write in a history document clearly. </p> </description> <category>Ticket</category> </item> </channel> </rss>