Re: [Boost-bugs] [Boost C++ Libraries] #2108: matrix_row<symmetric_matrix<>> doesn't iterate over entire row

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2108: matrix_row<symmetric_matrix<>> doesn't iterate over entire row
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-29 20:00:46


#2108: matrix_row<symmetric_matrix<>> doesn't iterate over entire row
----------------------------------------+-----------------------------------
  Reporter: eherbst_at_[hidden] | Owner: guwi17
      Type: Bugs | Status: closed
 Milestone: Boost 1.36.0 | Component: uBLAS
   Version: Boost 1.35.0 | Severity: Cosmetic
Resolution: wontfix | Keywords:
----------------------------------------+-----------------------------------
Changes (by guwi17):

  * status: new => closed
  * resolution: => wontfix
  * severity: Problem => Cosmetic
  * milestone: To Be Determined => Boost 1.36.0

Comment:

 This is the desired behavior. A const_iterator (or an iterator of a const
 reference) traverses over all elements of the corresponding vector. A
 mutable iterator traverses only over the mutable elements. Thus you may
 see different elements when switching from mutable to const iterator.

 Please refer to the attached example.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2108#comment:1>
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:49:58 UTC