diff options
author | 2010-01-15 13:34:28 +0100 | |
---|---|---|
committer | 2010-01-15 13:34:28 +0100 | |
commit | d62ee0668f2029452f164c0fddac263bd4cce8b4 (patch) | |
tree | 112a89253f415c90cda397bec4d8369a42c15a55 /Eigen/src/Core/Matrix.h | |
parent | 76a355817bd243944a4578a79dee5f220598172a (diff) |
remove useless using comp. assignment operators
Diffstat (limited to 'Eigen/src/Core/Matrix.h')
-rw-r--r-- | Eigen/src/Core/Matrix.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index cefb4eff1..fa8859f3c 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -129,7 +129,7 @@ class Matrix { public: - /** \brief Base class typedef. + /** \brief Base class typedef. * \sa DenseStorageBase */ typedef DenseStorageBase<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>, Eigen::MatrixBase, _Options> Base; @@ -161,10 +161,10 @@ class Matrix using Base::coeff; using Base::coeffRef; - /** + /** * \brief Assigns matrices to each other. * - * \note This is a special case of the templated operator=. Its purpose is + * \note This is a special case of the templated operator=. Its purpose is * to prevent a default operator= from hiding the templated operator=. * * \callgraph @@ -190,7 +190,7 @@ class Matrix } /** - * The usage of + * The usage of * using Base::operator=; * fails on MSVC. Since the code below is working with GCC and MSVC, we skipped * the usage of 'using'. This should be done only for operator=. @@ -207,11 +207,6 @@ class Matrix return Base::operator=(func); } - using Base::operator +=; - using Base::operator -=; - using Base::operator *=; - using Base::operator /=; - /** Default constructor. * * For fixed-size matrices, does nothing. @@ -323,7 +318,7 @@ class Matrix { Base::_check_template_params(); Base::resize(other.rows(), other.cols()); - // FIXME/CHECK: isn't *this = other.derived() more efficient. it allows to + // FIXME/CHECK: isn't *this = other.derived() more efficient. it allows to // go for pure _set() implementations, right? *this = other; } |