[Boost-bugs] [Boost C++ Libraries] #10312: uBLAS have missing accessors in some expressions

Subject: [Boost-bugs] [Boost C++ Libraries] #10312: uBLAS have missing accessors in some expressions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-05 08:03:52


#10312: uBLAS have missing accessors in some expressions
-------------------------------------------------+-------------------------
 Reporter: correaa@… | Owner: guwi17
     Type: Bugs | Status: new
Milestone: Boost 1.57.0 | Component: uBLAS
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: oversight, missing function, |
  design, acessors, expression template |
-------------------------------------------------+-------------------------
 For example, these lines are missing from the class
 `matrix_binary_scalar1`:


 {{{
     public: // around line 2925 in `matrix_expression.hpp`
         // Expression accessors
         BOOST_UBLAS_INLINE
         const expression1_closure_type &expression1 () const {
             return e1_;
         }
         BOOST_UBLAS_INLINE
         const expression2_closure_type &expression2 () const {
             return e2_;
         }
 }}}


 Without these lines is impossible to access to the expression template
 built by "d*matrix<...>". where d is a scalar. Other similar classes also
 miss this, in my opinion all this feature should be in based class.

 This is most likely an oversight

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