[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] TooN TooN.h internal/allocator.hh
From: |
Tom Drummond |
Subject: |
[Toon-members] TooN TooN.h internal/allocator.hh |
Date: |
Sun, 12 Apr 2009 00:21:07 +0000 |
CVSROOT: /cvsroot/toon
Module name: TooN
Changes by: Tom Drummond <twd20> 09/04/12 00:21:07
Modified files:
. : TooN.h
internal : allocator.hh
Log message:
removed unused detritus from TooN.h and the unused NoIgnore constructors
in StrideHolders
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/TooN.h?cvsroot=toon&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/TooN/internal/allocator.hh?cvsroot=toon&r1=1.24&r2=1.25
Patches:
Index: TooN.h
===================================================================
RCS file: /cvsroot/toon/TooN/TooN.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- TooN.h 30 Mar 2009 21:22:31 -0000 1.29
+++ TooN.h 12 Apr 2009 00:21:06 -0000 1.30
@@ -37,39 +37,11 @@
static const unsigned int max_bytes_on_stack=1000;
struct Slicing{};
template<int RowStride, int ColStride> struct Slice;
-
- struct SpecifySize{};
- struct SpecifyStride{};
- struct SpecifyRows{};
- struct SpecifyCols{};
-
- struct NoIgnore{};
-
- //Some helper classes to label integer data with a specific
meaning,
- //for creating slices of external data.
- struct Spec_____{ };
- struct Spec____C{int cs;};
- struct Spec___R_{int rs ;};
- struct Spec___RC{int rs, cs;};
- struct Spec__C__{int c ;};
- struct Spec__C_C{int c , cs;};
- struct Spec__CR_{int c, rs ;};
- struct Spec__CRC{int c, rs, cs;};
- struct Spec_R___{int r ;};
- struct Spec_R__C{int r, cs;};
- struct Spec_R_R_{int r, rs ;};
- struct Spec_R_RC{int r, rs, cs;};
- struct Spec_RC__{int r, c ;};
- struct Spec_RC_C{int r, c, cs;};
- struct Spec_RCR_{int r, c, rs ;};
- struct Spec_RCRC{int r, c, rs, cs;};
}
template<int Size, class Precision, class Base> struct Vector;
template<int Rows, int Cols, class Precision, class Base> struct Matrix;
template<typename T> class Operator;
- template<typename T> class NoAliasOperator;
- template<typename T> class SliceSpec: public T{};
static const int Dynamic = -1;
Index: internal/allocator.hh
===================================================================
RCS file: /cvsroot/toon/TooN/internal/allocator.hh,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- internal/allocator.hh 2 Apr 2009 13:32:40 -0000 1.24
+++ internal/allocator.hh 12 Apr 2009 00:21:07 -0000 1.25
@@ -159,9 +159,6 @@
RowSizeHolder(int i)
:SizeHolder<S>(i){}
- RowSizeHolder(int i, const Internal::NoIgnore& n)
- :SizeHolder<S>(i, n){}
-
RowSizeHolder()
{}
@@ -300,10 +297,6 @@
StrideHolder(int s)
:my_stride(s){}
- //This constructor is not allowed to ignore the argument
- StrideHolder(int s, const Internal::NoIgnore&)
- :my_stride(s){}
-
template<class Op>
StrideHolder(const Operator<Op>& op) : my_stride(op.stride()) {}
@@ -319,9 +312,6 @@
RowStrideHolder(int i)
:StrideHolder<S>(i){}
- RowStrideHolder(int i, const Internal::NoIgnore& n)
- :StrideHolder<S>(i, n){}
-
RowStrideHolder()
{}
@@ -338,9 +328,6 @@
ColStrideHolder(int i)
:StrideHolder<S>(i){}
- ColStrideHolder(int i, const Internal::NoIgnore& n)
- :StrideHolder<S>(i, n){}
-
ColStrideHolder()
{}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Toon-members] TooN TooN.h internal/allocator.hh,
Tom Drummond <=