toon-members
[Top][All Lists]
Advanced

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

[Toon-members] TooN/internal vector.hh


From: Tom Drummond
Subject: [Toon-members] TooN/internal vector.hh
Date: Sun, 12 Apr 2009 01:31:17 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Tom Drummond <twd20>    09/04/12 01:31:17

Modified files:
        internal       : vector.hh 

Log message:
        removed no-longer-needed 1-ary and 2-ary constructors for Vector

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

Patches:
Index: vector.hh
===================================================================
RCS file: /cvsroot/toon/TooN/internal/vector.hh,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- vector.hh   12 Apr 2009 01:23:47 -0000      1.36
+++ vector.hh   12 Apr 2009 01:31:16 -0000      1.37
@@ -25,20 +25,6 @@
                op.eval(*this);
        }
 
-       // constructors to allow return value optimisations
-       // construction from 1-ary operator
-       template <class T, class Op>
-       inline Vector(const T& arg, int size, const Operator<Op>&) : 
Base::template VLayout<Size, Precision>(size) {
-               Op::eval(*this,arg);
-       }
-
-       // constructor from 2-ary operator
-       template <class LHS, class RHS, class Op>
-       inline Vector(const LHS& lhs, const RHS& rhs, int size, const 
Operator<Op>&)
-               : Base::template VLayout<Size, Precision>(size) {
-               Op::eval(*this,lhs,rhs);
-       }
-
        // Copy construction is a very special case. Copy construction goes all 
the
        // way down to the bottom. GenericVBase has no idea how to copy itself.
        // However, the underlying allocator objects do.  In the case of static 
sized




reply via email to

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