Ignore:
Timestamp:
May 15, 2006, 11:03:07 AM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
f0daaa2ae00a1c211020bcbe4eca9c6fe7947a71
Parents:
1dc6163f5dbd22ee9839decb93a02494ac071aca
Message:
*hannes: ISTREAM, OSTREAM, CERR


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

Legend:

Unmodified
Added
Removed
  • factory/templates/ftmpl_matrix.h

    r1dc616 r181148  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: ftmpl_matrix.h,v 1.12 2006-05-15 08:17:57 Singular Exp $ */
     2/* $Id: ftmpl_matrix.h,v 1.13 2006-05-15 09:03:07 Singular Exp $ */
    33
    44#ifndef INCL_MATRIX_H
     
    1010#ifdef HAVE_IOSTREAM
    1111#include <iostream>
     12#define OSTREAM std::ostream
    1213#elif defined(HAVE_IOSTREAM_H)
    1314#include <iostream.h>
     15#define OSTREAM ostream
    1416#endif
    1517#endif /* NOSTREAMIO */
     
    2325#ifndef NOSTREAMIO
    2426template <class T>
    25 ostream& operator<< (ostream &, const Matrix<T> &);
     27OSTREAM& operator<< (OSTREAM &, const Matrix<T> &);
    2628#endif
    2729
     
    3335    T ** elems;
    3436#ifndef NOSTREAMIO
    35     void printrow ( ostream & s, int i ) const;
     37    void printrow ( OSTREAM & s, int i ) const;
    3638#endif /* NOSTREAMIO */
    3739    typedef T* T_ptr;
     
    5355    void swapColumn( int i, int j );
    5456#ifndef NOSTREAMIO
    55     void print( ostream& s ) const;
    56     friend ostream & operator<< <T>( ostream & s, const Matrix<T>& M );
     57    void print( OSTREAM& s ) const;
     58    friend OSTREAM & operator<< <T>( OSTREAM & s, const Matrix<T>& M );
    5759#endif /* NOSTREAMIO */
    5860    friend class SubMatrix<T>;
     
    8991#ifndef NOSTREAMIO
    9092template <class T>
    91 ostream & operator<< ( ostream & s, const Matrix<T>& M );
     93OSTREAM & operator<< ( OSTREAM & s, const Matrix<T>& M );
    9294#endif /* NOSTREAMIO */
    9395
Note: See TracChangeset for help on using the changeset viewer.