Changeset 181148 in git for factory/templates/ftmpl_array.h
- Timestamp:
- May 15, 2006, 11:03:07 AM (17 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- f0daaa2ae00a1c211020bcbe4eca9c6fe7947a71
- Parents:
- 1dc6163f5dbd22ee9839decb93a02494ac071aca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/templates/ftmpl_array.h
r1dc616 r181148 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: ftmpl_array.h,v 1. 6 2006-05-15 08:17:56Singular Exp $ */2 /* $Id: ftmpl_array.h,v 1.7 2006-05-15 09:03:07 Singular Exp $ */ 3 3 4 4 #ifndef INCL_ARRAY_H … … 10 10 #ifdef HAVE_IOSTREAM 11 11 #include <iostream> 12 #define OSTREAM std::ostream 12 13 #elif defined(HAVE_IOSTREAM_H) 13 14 #include <iostream.h> 15 #define OSTREAM ostream 14 16 #endif 15 17 #endif /* NOSTREAMIO */ … … 34 36 int max() const; 35 37 #ifndef NOSTREAMIO 36 void print ( ostream& ) const;38 void print ( OSTREAM& ) const; 37 39 #endif /* NOSTREAMIO */ 38 40 }; … … 40 42 #ifndef NOSTREAMIO 41 43 template <class T> 42 ostream& operator<< ( ostream& os, const Array<T> & a );44 OSTREAM& operator<< ( OSTREAM & os, const Array<T> & a ); 43 45 #endif /* NOSTREAMIO */ 44 46
Note: See TracChangeset
for help on using the changeset viewer.