Changeset 50cbdc in git for Singular/claptmpl.cc
- Timestamp:
- Aug 27, 2001, 4:48:02 PM (22 years ago)
- Branches:
- (u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
- Children:
- 2567b5a6cb7109be5a83e53eb94abb1c38fb9945
- Parents:
- 3de58c9ca0aeaafdf5cb29f986967bffa405b542
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/claptmpl.cc
r3de58c r50cbdc 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 // $Id: claptmpl.cc,v 1.2 4 2000-07-06 13:26:22 pohlExp $5 // $Id: claptmpl.cc,v 1.25 2001-08-27 14:46:49 Singular Exp $ 6 6 /* 7 7 * ABSTRACT - instantiation of all templates … … 41 41 template class ListIterator<CFFactor>; 42 42 template class List<CanonicalForm>; 43 template class List<List<CanonicalForm> >; 43 44 template class ListIterator<CanonicalForm>; 44 45 template class Array<CanonicalForm>; … … 52 53 #ifndef NOSTREAMIO 53 54 template ostream & operator<<(ostream &, const List<Factor<CanonicalForm> > &); 55 template ostream & operator<<(ostream &, const List<List<CanonicalForm> > &); 54 56 template ostream & operator<<(ostream &, const List<Variable> &); 55 57 #endif … … 92 94 T exp() const { return _exp; } 93 95 #ifndef NOSTREAMIO 94 friend ostream & operator <<(ostream &, const Substitution<T> &); 96 friend ostream & operator <<<>(ostream &, Substitution<T> &); 97 void Substitution<T>::print ( ostream& s ) const 98 { 99 s << "(" << factor() << ")^" << exp(); 100 } 95 101 #endif 96 102 }; … … 119 125 #ifndef NOSTREAMIO 120 126 template <class T> 121 ostream& operator<< ( ostream & os, const Substitution<T> & a ) { return os; } 127 ostream & operator <<(ostream & os, Substitution<T> &a) 128 { 129 a.print(os); 130 return os; 131 } 132 template ostream & operator <<(ostream &, Substitution<CanonicalForm> &); 133 template ostream & operator <<(ostream &, const List<CanonicalForm> &); 134 template ostream & operator <<(ostream &, const Array<CanonicalForm> &); 135 template ostream & operator<<(ostream &, const List<Substitution<CanonicalForm> > &); 122 136 #endif 123 137 … … 152 166 153 167 // for charsets: 154 template class List<CFList>;155 168 template class ListIterator<CFList>; 156 169
Note: See TracChangeset
for help on using the changeset viewer.