#ifndef __SG_IOSTREAM
#define __SG_IOSTREAM 1
-# include <iostream.h>
-# include <fstream.h>
+# include <fstream>
+
+# if defined(sgi) && !defined(__GNUC__)
-#if defined(sgi) && !defined(__GNUC__)
+# include <iostream.h>
class ios_base : public ios {
public:
using ::clog;
using ::endl;
+ using ::ios;
using ::ios_base;
+ using ::iostream;
using ::istream;
using ::ostream;
- using ::ifstream;
- using ::ofstream;
+ using ::dec;
+ using ::hex;
};
-#endif
+# endif
#endif // !__SG_IOSTREAM