From bd01ba56dca69c72287e3661b144e68d50ee8ea5 Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Fri, 2 Sep 2005 08:20:32 +0000 Subject: [PATCH] MINOR comments regarding non-const unary2 consturction [SVN r30784] --- include/boost/numeric/ublas/matrix_expression.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/boost/numeric/ublas/matrix_expression.hpp b/include/boost/numeric/ublas/matrix_expression.hpp index 142b593b..c37d032c 100644 --- a/include/boost/numeric/ublas/matrix_expression.hpp +++ b/include/boost/numeric/ublas/matrix_expression.hpp @@ -1239,7 +1239,6 @@ namespace boost { namespace numeric { namespace ublas { typedef const self_type const_closure_type; typedef self_type closure_type; - // typedef typename E::orientation_category orientation_category; typedef typename boost::mpl::if_, column_major_tag, @@ -1247,13 +1246,12 @@ namespace boost { namespace numeric { namespace ublas { column_major_tag>, row_major_tag, typename E::orientation_category>::type>::type orientation_category; - // typedef unknown_storage_tag storage_category; typedef typename E::storage_category storage_category; // Construction and destruction BOOST_UBLAS_INLINE - // ISSUE may be used as mutable expression. - // matrix_unary2 (const expression_type &e): + // matrix_unary2 may be used as mutable expression - + // this is the only non const expression constructor explicit matrix_unary2 (expression_type &e): e_ (e) {}