]> www.ginac.de Git - ginac.git/blobdiff - ginac/operators.h
- prepared for 1.0.13 release
[ginac.git] / ginac / operators.h
index b84d38b6eb85affb6b7a294b99b68f4ec389cc3f..770d20862b39f1a4ab0980922cef8989effbc986 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to GiNaC's overloaded operators. */
 
 /*
- *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@
 #ifndef __GINAC_OPERATORS_H__
 #define __GINAC_OPERATORS_H__
 
-#include <iostream>
+#include <iosfwd>
 
 namespace GiNaC {
 
@@ -74,12 +74,12 @@ const numeric operator++(numeric & lh, int);
 const numeric operator--(numeric & lh, int);
 
 // binary relational operators ex with ex
-relational operator==(const ex & lh, const ex & rh);
-relational operator!=(const ex & lh, const ex & rh);
-relational operator<(const ex & lh, const ex & rh);
-relational operator<=(const ex & lh, const ex & rh);
-relational operator>(const ex & lh, const ex & rh);
-relational operator>=(const ex & lh, const ex & rh);
+const relational operator==(const ex & lh, const ex & rh);
+const relational operator!=(const ex & lh, const ex & rh);
+const relational operator<(const ex & lh, const ex & rh);
+const relational operator<=(const ex & lh, const ex & rh);
+const relational operator>(const ex & lh, const ex & rh);
+const relational operator>=(const ex & lh, const ex & rh);
 
 // input/output stream operators
 std::ostream & operator<<(std::ostream & os, const ex & e);