toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Toon-members] TooN/internal matrix.hh


From: Edward Rosten
Subject: [Toon-members] TooN/internal matrix.hh
Date: Fri, 10 Jul 2009 14:10:39 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Edward Rosten <edrosten>        09/07/10 14:10:39

Modified files:
        internal       : matrix.hh 

Log message:
        Removed obsolete Operator constructors.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/internal/matrix.hh?cvsroot=toon&r1=1.36&r2=1.37

Patches:
Index: matrix.hh
===================================================================
RCS file: /cvsroot/toon/TooN/internal/matrix.hh,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- matrix.hh   10 Jul 2009 14:05:55 -0000      1.36
+++ matrix.hh   10 Jul 2009 14:10:39 -0000      1.37
@@ -163,24 +163,6 @@
        }
        ///@}
 
-
-       // constructors to allow return value optimisations
-       // construction from 1-ary operator
-       template <class T, class Op>
-       inline Matrix(const T& arg, int rows, int cols, const Operator<Op>&) 
-       :Layout::template MLayout<Rows,Cols,Precision>(rows, cols) 
-       {
-           Op::eval(*this,arg);
-       }
-
-       // constructor from 2-ary operator
-       template <class LHS, class RHS, class Op>
-       inline Matrix(const LHS& lhs, const RHS& rhs, int rows, int cols, const 
Operator<Op>&)
-       :Layout::template MLayout<Rows,Cols,Precision>(rows, cols)
-       {
-           Op::eval(*this,lhs,rhs);
-       }
-
        ///@name Assignment
        ///@{
        /// operator = from copy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]