Subject: [Boost-bugs] [Boost C++ Libraries] #12263: ublas matrix iterators do not include "->" member access (dereferencing) operator, although the operator is referenced in the documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-06-10 14:09:03
#12263: ublas matrix iterators do not include "->" member access (dereferencing)
operator, although the operator is referenced in the documentation
--------------------------------+---------------------
Reporter: douglas.schuyler@⦠| Owner: guwi17
Type: Bugs | Status: new
Milestone: To Be Determined | Component: uBLAS
Version: Boost 1.61.0 | Severity: Problem
Keywords: |
--------------------------------+---------------------
The documentation for the ublas matrix iterators includes the "->"
operator for member access (dereferencing), but the source code does not
include this operator in either the exposed iterator classes (i.e.
iterator1/2) nor the base classes (i.e. random_access_iterator_base).
Documentation:
http://www.boost.org/doc/libs/1_61_0/libs/numeric/ublas/doc/iterator_concept.html#1IndexedBidirectionalIterator
Iterator1 class reference:
http://www.boost.org/doc/libs/1_46_0/libs/numeric/ublas/doc/html/classboost_1_1numeric_1_1ublas_1_1matrix_1_1iterator1.html
Similar observations have been made on StackOverflow, but appear to have
not been written up. See here:
http://stackoverflow.com/questions/26462271/why-doesnt-the-arrow-operator-
work-on-boostnumericublasvector
This appears to be an oversight, but appears to reach throughout uBLAS.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12263> 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:20 UTC