diff options
author | 2011-02-06 11:57:31 -0500 | |
---|---|---|
committer | 2011-02-06 11:57:31 -0500 | |
commit | 182ed9ba6c0d7ee7a963765eb8891faf28a6b4b2 (patch) | |
tree | e846233274d88ba6b56fd712c13df0270a2b6a88 /Eigen/src/Core/util | |
parent | bc6625ab870f7d7c26b21d0ad287edbddb8815a9 (diff) | |
parent | d975b82105154ee61b34f15e5e512aab0c916d59 (diff) |
merge
Diffstat (limited to 'Eigen/src/Core/util')
-rw-r--r-- | Eigen/src/Core/util/XprHelper.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index 1c4d42461..9047c5f83 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -333,46 +333,6 @@ template<typename T, int n=1, typename PlainObject = typename eval<T>::type> str >::type type; }; -template<typename ExpressionType> -struct as_argument -{ - typedef typename nested<ExpressionType>::type type; -}; - -template<typename ExpressionType> -struct as_argument<const ExpressionType> -{ - typedef const typename nested<ExpressionType>::type type; -}; - -template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols> -struct as_argument<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > -{ - typedef Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> MatrixType; - typedef MatrixType& type; -}; - -template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols> -struct as_argument<const Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > -{ - typedef Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> MatrixType; - typedef const MatrixType& type; -}; - -template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols> -struct as_argument<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > -{ - typedef Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> ArrayType; - typedef ArrayType& type; -}; - -template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols> -struct as_argument<const Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > -{ - typedef Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> ArrayType; - typedef const ArrayType& type; -}; - template<typename T> T* const_cast_ptr(const T* ptr) { |