Opened 13 years ago
Closed 13 years ago
#3968 closed Bugs (fixed)
coordinate_matrix broken on MSVC10
Reported by: | Thomas Klimpel | Owned by: | Gunter |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | uBLAS |
Version: | Boost 1.42.0 | Severity: | Problem |
Keywords: | Cc: |
Description
The swap functions of "index_pair" and "index_triple" in "ublas/storage.hpp" take their argument by value instead of by reference. This is most probably a simple typo.
It doesn't lead to problems on other compilers, because either ADL is not used at all to find custom swap functions in std::sort, or iter_swap is found. MSVC10 seems to be the only compiler (std library) that misses iter_swap, but finds the broken custom swap function.
Attachments (1)
Change History (7)
by , 13 years ago
Attachment: | ublas_storage.patch added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
comment:3 by , 13 years ago
comment:4 by , 13 years ago
comment:6 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [60156]) see #3968: added testcase to reproduce problem
test/sparse_view_test.cpp: test case implementation
test/Jamfile.v2: added target for test run