# HG changeset patch # User jwe # Date 1064008465 0 # Node ID 228d2d5b6d6678a8761073979becdf9d2d094f47 # Parent 8373b9b41eee193c7fed62eb28953c4005ca36d8 [project @ 2003-09-19 21:53:15 by jwe] diff --git a/liboctave/Array-C.cc b/liboctave/Array-C.cc --- a/liboctave/Array-C.cc +++ b/liboctave/Array-C.cc @@ -46,26 +46,9 @@ template int assign (Array&, const Array&, const Complex&); #include "Array2.h" -#include "Array2.cc" template class Array2; -#if 0 - -template int assign (Array2&, const Array2&); -template int assign (Array2&, const Array2&); -template int assign (Array2&, const Array2&); -template int assign (Array2&, const Array2&); -template int assign (Array2&, const Array2&); - -template int assign (Array2&, const Array2&, const Complex&); -template int assign (Array2&, const Array2&, const Complex&); -template int assign (Array2&, const Array2&, const Complex&); -template int assign (Array2&, const Array2&, const Complex&); -template int assign (Array2&, const Array2&, const Complex&); - -#endif - #include "ArrayN.h" #include "ArrayN.cc" diff --git a/liboctave/Array-b.cc b/liboctave/Array-b.cc --- a/liboctave/Array-b.cc +++ b/liboctave/Array-b.cc @@ -36,18 +36,9 @@ template int assign (Array&, const Array&, const bool&); #include "Array2.h" -#include "Array2.cc" template class Array2; -#if 0 - -template int assign (Array2&, const Array2&); - -template int assign (Array2&, const Array2&, const bool&); - -#endif - #include "ArrayN.h" #include "ArrayN.cc" diff --git a/liboctave/Array-ch.cc b/liboctave/Array-ch.cc --- a/liboctave/Array-ch.cc +++ b/liboctave/Array-ch.cc @@ -36,18 +36,9 @@ template int assign (Array&, const Array&, const char&); #include "Array2.h" -#include "Array2.cc" template class Array2; -#if 0 - -template int assign (Array2&, const Array2&); - -template int assign (Array2&, const Array2&, const char&); - -#endif - #include "ArrayN.h" #include "ArrayN.cc" diff --git a/liboctave/Array-d.cc b/liboctave/Array-d.cc --- a/liboctave/Array-d.cc +++ b/liboctave/Array-d.cc @@ -42,43 +42,14 @@ template int assign (Array&, const Array&, const double&); #include "Array2.h" -#include "Array2.cc" template class Array2; -#if 0 - -template int assign (Array2&, const Array2&); -template int assign (Array2&, const Array2&); -template int assign (Array2&, const Array2&); -template int assign (Array2&, const Array2&); - -template int assign (Array2&, const Array2&, const double&); -template int assign (Array2&, const Array2&, const double&); -template int assign (Array2&, const Array2&, const double&); -template int assign (Array2&, const Array2&, const double&); - -#endif - #include "ArrayN.h" #include "ArrayN.cc" template class ArrayN; -#if 0 - -template int assign (ArrayN&, const ArrayN&); -template int assign (ArrayN&, const ArrayN&); -template int assign (ArrayN&, const ArrayN&); -template int assign (ArrayN&, const ArrayN&); - -template int assign (ArrayN&, const ArrayN&, const double&); -template int assign (ArrayN&, const ArrayN&, const double&); -template int assign (ArrayN&, const ArrayN&, const double&); -template int assign (ArrayN&, const ArrayN&, const double&); - -#endif - template std::ostream& operator << (std::ostream&, const ArrayN&); #include "DiagArray2.h" diff --git a/liboctave/Array-i.cc b/liboctave/Array-i.cc --- a/liboctave/Array-i.cc +++ b/liboctave/Array-i.cc @@ -40,22 +40,9 @@ template int assign (Array&, const Array&, const int&); #include "Array2.h" -#include "Array2.cc" template class Array2; -#if 0 - -template int assign (Array2&, const Array2&); -template int assign (Array2&, const Array2&); -template int assign (Array2&, const Array2&); - -template int assign (Array2&, const Array2&, const int&); -template int assign (Array2&, const Array2&, const int&); -template int assign (Array2&, const Array2&, const int&); - -#endif - #include "DiagArray2.h" #include "DiagArray2.cc" diff --git a/liboctave/Array-s.cc b/liboctave/Array-s.cc --- a/liboctave/Array-s.cc +++ b/liboctave/Array-s.cc @@ -38,20 +38,9 @@ template int assign (Array&, const Array&, const short&); #include "Array2.h" -#include "Array2.cc" template class Array2; -#if 0 - -template int assign (Array2&, const Array2&); -template int assign (Array2&, const Array2&); - -template int assign (Array2&, const Array2&, const short&); -template int assign (Array2&, const Array2&, const short&); - -#endif - #include "DiagArray2.h" #include "DiagArray2.cc" diff --git a/src/TEMPLATE-INST/Array-tc.cc b/src/TEMPLATE-INST/Array-tc.cc --- a/src/TEMPLATE-INST/Array-tc.cc +++ b/src/TEMPLATE-INST/Array-tc.cc @@ -32,7 +32,6 @@ #include "Array.cc" #include "Array2.h" -#include "Array2.cc" #include "ArrayN.h" #include "ArrayN.cc" @@ -60,15 +59,6 @@ template class Array2; -#if 0 - -template int assign (Array2&, const Array2&); - -template int assign (Array2&, - const Array2&, const octave_value&); - -#endif - template class ArrayN; /* diff --git a/src/ov-typeinfo.cc b/src/ov-typeinfo.cc --- a/src/ov-typeinfo.cc +++ b/src/ov-typeinfo.cc @@ -40,9 +40,11 @@ octave_value_typeinfo * octave_value_typeinfo::instance (0); +#include +#include +#include + #include -#include -#include template class Array; template class Array2;