toon-members
[Top][All Lists]
Advanced

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

[Toon-members] TooN helpers.h


From: Tom Drummond
Subject: [Toon-members] TooN helpers.h
Date: Tue, 31 Mar 2009 04:30:14 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Tom Drummond <twd20>    09/03/31 04:30:14

Modified files:
        .              : helpers.h 

Log message:
        cleaning and comments

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/helpers.h?cvsroot=toon&r1=1.38&r2=1.39

Patches:
Index: helpers.h
===================================================================
RCS file: /cvsroot/toon/TooN/helpers.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- helpers.h   31 Mar 2009 04:25:54 -0000      1.38
+++ helpers.h   31 Mar 2009 04:30:11 -0000      1.39
@@ -46,13 +46,6 @@
                }
 
        namespace Internal{
-
-               struct Zero;
-               struct SizedZero;
-               struct RCZero;
-               struct Identity;
-               struct SizedIdentity;
-       
                struct Copy
                {
                        template<int R, int C, class P, class B, class Data> 
static void eval(Matrix<R, C, P, B>& m, const Data * data)
@@ -62,8 +55,14 @@
                                                m[r][c] = *data++;
                        }
                };
-       }
 
+               // dummy structs that are used in 0-ary operators
+               struct Zero;
+               struct SizedZero;
+               struct RCZero;
+               struct Identity;
+               struct SizedIdentity;
+       }
 
        template<> struct Operator<Internal::RCZero> {
        Operator(int r, int c) : my_rows(r), my_cols(c) {}




reply via email to

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