Boost C++ Libraries: Ticket #5236: Issue with uneven stride https://svn.boost.org/trac10/ticket/5236 <p> The attached testcase I think shows that striding a vector of length 1 with a step of length 2 misbehaves. </p> <p> This is a reduced sample of what happens when strided.cpp is used with libc++ std::deques, but the bug will show on any compiler. </p> <p> Expected output: 0 (I think) 0 0 </p> <p> Received output: 1 0 -1 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5236 Trac 1.4.3 Chris Jefferson Sat, 26 Feb 2011 22:43:23 GMT attachment set https://svn.boost.org/trac10/ticket/5236 https://svn.boost.org/trac10/ticket/5236 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">t.cc</span> </li> </ul> <p> range example </p> Ticket Neil Groves Sun, 22 May 2011 22:07:12 GMT <link>https://svn.boost.org/trac10/ticket/5236#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5236#comment:1</guid> <description> <p> Thank you for your report. The correct expected output should have been 1 0 0. </p> <p> This has been fixed and committed to the trunk. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Neil Groves</dc:creator> <pubDate>Sun, 22 May 2011 22:08:14 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5236#comment:2 https://svn.boost.org/trac10/ticket/5236#comment:2 <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> Ticket