Opened 12 years ago
Closed 11 years ago
#5236 closed Bugs (fixed)
Issue with uneven stride
Reported by: | Chris Jefferson | Owned by: | Neil Groves |
---|---|---|---|
Milestone: | To Be Determined | Component: | range |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
The attached testcase I think shows that striding a vector of length 1 with a step of length 2 misbehaves.
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.
Expected output: 0 (I think) 0 0
Received output: 1 0 -1
Attachments (1)
Change History (3)
by , 12 years ago
comment:1 by , 11 years ago
Thank you for your report. The correct expected output should have been 1 0 0.
This has been fixed and committed to the trunk.
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
range example