freebsd-ports/databases/xbase/files/patch-xbase::xbstring.h
Thierry Thomas b6a30b1048 Add xbase 2.0.0, an xbase (i.e. dBase, FoxPro, etc.) compatible
C++ class library.

Approved by:	pav (mentor).
2004-04-10 18:05:19 +00:00

24 lines
630 B
C++

--- xbase/xbstring.h.orig Sat Jan 27 06:00:32 2001
+++ xbase/xbstring.h Sat Nov 22 22:30:42 2003
@@ -56,7 +56,11 @@
#endif
#include <stdlib.h>
-#include <iostream.h>
+#include <iostream>
+
+using std::endl;
+using std::cin;
+using std::cout;
/*! \file xbstring.h
*/
@@ -119,7 +123,7 @@
bool operator <= ( const xbString& ) const;
bool operator >= ( const xbString& ) const;
- friend ostream& operator << ( ostream&, const xbString& );
+ friend std::ostream& operator << ( std::ostream&, const xbString& );
xbString &remove(size_t pos = 0, int n = npos);
xbString mid(size_t pos = 0, int n = npos) const;