cwchar \
iostream \
strstream \
+ sstream \
cassert \
climits \
csignal \
#ifndef __SG_FSTREAM
#define __SG_FSTREAM 1
-# include <fstream.h>
-# include <iostream>
-
# if defined(sgi) && !defined(__GNUC__)
+# include <fstream.h>
+
namespace std {
using ::fstream;
+ using ::ifstream;
+ using ::ofstream;
};
+
# endif
#endif // !__SG_FSTREAM
# include <iomanip.h>
+namespace std {
+ using ::setw;
+};
+
#endif // !__SG_IOMANIP
#ifndef __SG_IOSTREAM
#define __SG_IOSTREAM 1
-# include <iostream.h>
-# include <fstream.h>
+# include <fstream>
# if defined(sgi) && !defined(__GNUC__)
+# include <iostream.h>
+
class ios_base : public ios {
public:
using ::istream;
using ::ostream;
- using ::ifstream;
- using ::ofstream;
+ using ::dec;
+ using ::hex;
};
# endif
--- /dev/null
+
+#ifndef __SG_SSTREAM
+#define __SG_SSTREAM 1
+
+# include <strstream>
+
+namespace std {
+ typedef ::ostrstream ostringstream;
+ typedef ::istrstream istringstream;
+};
+
+#endif // !__SG_SSTREAM
+