#include <string.h>
#include <iostream.h>
-#include <Rational.h>
-
+#include "arithmetic-operator.hh"
+#include "fproto.hh"
#include "string-handle.hh"
/*
/** init to empty string. This is needed because other
constructors are provided.*/
String ();
- String (Rational);
/// String s = "abc";
String (char const* source);
return String (s2) !=s1;
}
-
-inline String
-operator + (String s1, String s2)
-{
- s1 += s2;
- return s1;
-}
+IMPLEMENT_ARITHMETIC_OPERATOR (String, +);
inline ostream &
operator << (ostream& os, String d)