[Boost-bugs] [Boost C++ Libraries] #7363: coordinate_matrix::sort() fails with gcc 4.7

Subject: [Boost-bugs] [Boost C++ Libraries] #7363: coordinate_matrix::sort() fails with gcc 4.7
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-10 21:23:18


#7363: coordinate_matrix::sort() fails with gcc 4.7
-------------------------------------+--------------------------------------
 Reporter: guwi17 | Owner: guwi17
     Type: Bugs | Status: new
Milestone: Boost 1.52.0 | Component: None
  Version: Boost 1.51.0 | Severity: Problem
 Keywords: ublas coordinate_matrix |
-------------------------------------+--------------------------------------
 coordinate_matrix::sort() fails with gcc 4.7 because std::inplace_merge
 requires the provided iterator's method operator*() to really return a
 reference. The current implementation of index_triple's iterator however
 returns a proxy (which does not comply to the random_access iterator
 concept).

 (The same problem applies to zip_iterator, see e.g.
 http://www.boost.org/doc/libs/1_48_0/libs/iterator/doc/new-iter-
 concepts.html#changes-to-algorithm-requirements )

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7363>
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:10 UTC