Changeset 2d10dab in git
- Timestamp:
- Sep 14, 2010, 3:28:10 PM (13 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 7504ddfe25cbc97ca03089b2d7dd8c1a3ff1d050
- Parents:
- 41ab4214f2b17d7e50edffc7030e3805f2c58be4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/claptmpl.cc
r41ab421 r2d10dab 41 41 //template class vector<poly>; 42 42 #ifndef NOSTREAMIO 43 template ostream & operator<<(ostream&, const List<Factor<CanonicalForm> > &);44 template ostream & operator<<(ostream&, const List<List<CanonicalForm> > &);45 template ostream & operator<<(ostream&, const List<Variable> &);46 template ostream & operator<<(ostream&, const Matrix<Variable> &);43 template OSTREAM & operator<<(OSTREAM &, const List<Factor<CanonicalForm> > &); 44 template OSTREAM & operator<<(OSTREAM &, const List<List<CanonicalForm> > &); 45 template OSTREAM & operator<<(OSTREAM &, const List<Variable> &); 46 template OSTREAM & operator<<(OSTREAM &, const Matrix<Variable> &); 47 47 #endif 48 48 … … 82 82 T exp() const { return _exp; } 83 83 #ifndef NOSTREAMIO 84 //friend ostream & operator <<<>(ostream&, Substitution<T> &);85 void print ( ostream& s ) const84 //friend OSTREAM & operator <<<>(OSTREAM &, Substitution<T> &); 85 void print ( OSTREAM& s ) const 86 86 { 87 87 s << "(" << factor() << ")^" << exp(); … … 113 113 #ifndef NOSTREAMIO 114 114 template <class T> 115 ostream & operator <<(ostream& os, Substitution<T> &a)115 OSTREAM & operator <<(OSTREAM & os, Substitution<T> &a) 116 116 { 117 117 a.print(os); 118 118 return os; 119 119 } 120 template ostream & operator <<(ostream&, Substitution<CanonicalForm> &);121 template ostream & operator <<(ostream&, const List<CanonicalForm> &);122 template ostream & operator <<(ostream&, const Array<CanonicalForm> &);123 template ostream & operator<<(ostream&, const List<Substitution<CanonicalForm> > &);120 template OSTREAM & operator <<(OSTREAM &, Substitution<CanonicalForm> &); 121 template OSTREAM & operator <<(OSTREAM &, const List<CanonicalForm> &); 122 template OSTREAM & operator <<(OSTREAM &, const Array<CanonicalForm> &); 123 template OSTREAM & operator<<(OSTREAM &, const List<Substitution<CanonicalForm> > &); 124 124 #endif 125 125 … … 185 185 186 186 #ifdef KMATRIX_PRINT 187 template ostream & operator << ( ostream&,const KMatrix<Rational>& );188 template static void print_rational( ostream&,int,const Rational& );187 template OSTREAM & operator << ( OSTREAM&,const KMatrix<Rational>& ); 188 template static void print_rational( OSTREAM&,int,const Rational& ); 189 189 #endif 190 190 -
kernel/fglm.h
r41ab421 r2d10dab 40 40 void newDivisor( int var ) { divisors[ ++divisors[0] ]= var; } 41 41 #ifndef NOSTREAMIO 42 friend ostream & operator <<(ostream&, fglmSelem);42 friend OSTREAM & operator <<(OSTREAM &, fglmSelem); 43 43 #endif 44 44 }; 45 45 #ifndef NOSTREAMIO 46 inline ostream & operator <<(ostream& os, fglmSelem) { return os;};46 inline OSTREAM & operator <<(OSTREAM & os, fglmSelem) { return os;}; 47 47 #endif 48 48 … … 60 60 void newDivisor() { insertions--; } 61 61 #ifndef NOSTREAMIO 62 friend ostream & operator <<(ostream&, fglmDelem);62 friend OSTREAM & operator <<(OSTREAM &, fglmDelem); 63 63 #endif 64 64 }; 65 65 #ifndef NOSTREAMIO 66 inline ostream & operator <<(ostream& os, fglmDelem) { return os;};66 inline OSTREAM & operator <<(OSTREAM & os, fglmDelem) { return os;}; 67 67 #endif 68 68 -
kernel/fglmcomb.cc
r41ab421 r2d10dab 29 29 30 30 #ifndef NOSTREAMIO 31 #ifdef HAVE_IOSTREAM 32 #include <iostream> 33 #else 31 34 #include <iostream.h> 35 #endif 32 36 #endif 33 37 -
libfac/factor/MVMultiHensel.cc
r41ab421 r2d10dab 29 29 #define HAVE_SINGULAR_ERROR 30 30 #ifndef NOSTREAMIO 31 void out_cf(c har *s1,const CanonicalForm &f,char *s2);31 void out_cf(const char *s1,const CanonicalForm &f,const char *s2); 32 32 #endif 33 33 #endif
Note: See TracChangeset
for help on using the changeset viewer.