// iostream standard header
#ifndef _IOSTREAM_
#define _IOSTREAM_
#include <istream>
_STD_BEGIN

		// OBJECTS
static ios_base::Init _Ios_init;	// force initialization of byte streams

extern istream cin;
extern ostream cout;
extern ostream cerr;

 #if _HAS_NAMESPACE
extern ostream clog;

 #else /* _HAS_NAMESPACE */

 #if __GNUC__ < 3	/* compiler test */
extern ostream clog;

 #else /* __GNUC__ < 3 */
namespace std {
extern ostream clog;
}	/* namespace std */
using std::clog;
 #endif /* __GNUC__ < 3 */

 #endif /* _HAS_NAMESPACE */

		// CLASS _Winit
class _Winit
	{	// controller for wide standard-stream initialization
public:
	_Winit();
	~_Winit();
private:
	static int _Init_cnt;
	};

		// WIDE OBJECTS
static _Winit _Wios_init;	// force initialization of wide streams
extern wistream wcin;
extern wostream wcout, wcerr, wclog;
_STD_END
#endif /* _IOSTREAM_ */

/*
 * Copyright (c) 1992-2003 by P.J. Plauger.  ALL RIGHTS RESERVED.
 * Consult your license regarding permissions and restrictions.
V4.02:0216 */
