Changeset 50cbdc in git for Singular/claptmpl.cc


Ignore:
Timestamp:
Aug 27, 2001, 4:48:02 PM (22 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
Children:
2567b5a6cb7109be5a83e53eb94abb1c38fb9945
Parents:
3de58c9ca0aeaafdf5cb29f986967bffa405b542
Message:
*hannes: merge-2-0-2


git-svn-id: file:///usr/local/Singular/svn/trunk@5619 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/claptmpl.cc

    r3de58c r50cbdc  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 // $Id: claptmpl.cc,v 1.24 2000-07-06 13:26:22 pohl Exp $
     5// $Id: claptmpl.cc,v 1.25 2001-08-27 14:46:49 Singular Exp $
    66/*
    77* ABSTRACT - instantiation of all templates
     
    4141    template class ListIterator<CFFactor>;
    4242    template class List<CanonicalForm>;
     43    template class List<List<CanonicalForm> >;
    4344    template class ListIterator<CanonicalForm>;
    4445    template class Array<CanonicalForm>;
     
    5253    #ifndef NOSTREAMIO
    5354    template ostream & operator<<(ostream &, const List<Factor<CanonicalForm> > &);
     55    template ostream & operator<<(ostream &, const List<List<CanonicalForm> > &);
    5456    template ostream & operator<<(ostream &, const List<Variable> &);
    5557    #endif
     
    9294    T exp() const { return _exp; }
    9395#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    }
    95101#endif
    96102};
     
    119125#ifndef NOSTREAMIO
    120126template <class T>
    121 ostream& operator<< ( ostream & os, const Substitution<T> & a ) { return os; }
     127ostream & operator <<(ostream & os, Substitution<T> &a)
     128{
     129  a.print(os);
     130  return os;
     131}
     132template ostream & operator <<(ostream &, Substitution<CanonicalForm> &);
     133template ostream & operator <<(ostream &, const List<CanonicalForm> &);
     134template ostream & operator <<(ostream &, const Array<CanonicalForm> &);
     135template ostream & operator<<(ostream &, const List<Substitution<CanonicalForm> > &);
    122136#endif
    123137
     
    152166
    153167// for charsets:
    154     template class List<CFList>;
    155168    template class ListIterator<CFList>;
    156169
Note: See TracChangeset for help on using the changeset viewer.