// iostream standard header
#ifndef _IOSTREAM_
#define _IOSTREAM_
#include <istream>

 #if defined(__ghs)
  #pragma ghs start_cxx_lib_header
  #pragma ghs startdata
  #if defined(__ghs_max_pack_value)
   #pragma pack (push, __ghs_max_pack_value)
  #endif /* defined(__ghs_max_pack_value) */
 #endif /* defined(__ghs) */

_STD_BEGIN
		// OBJECTS
static ios_base::Init _Ios_init;	// force initialization of byte streams

extern istream cin;
extern ostream cout;
extern ostream cerr;

extern ostream clog;

#if !defined(__ghs)
		// CLASS _Winit
class _Winit
	{	// controller for wide standard-stream initialization
public:
	_Winit();
	~_Winit() _NOEXCEPT;
private:
	static int _Init_cnt;
	};

		// WIDE OBJECTS
static _Winit _Wios_init;	// force initialization of wide streams
#endif /* !defined(__ghs) */
extern wistream wcin;
extern wostream wcout, wcerr, wclog;
_STD_END

 #if defined(__ghs)
  #if defined(__ghs_max_pack_value)
   #pragma pack(pop)
  #endif /* defined(__ghs_max_pack_value) */
  #pragma ghs enddata
  #pragma ghs end_cxx_lib_header
 #endif /* defined(__ghs) */

#endif /* _IOSTREAM_ */

/*
 * Copyright (c) by P.J. Plauger. All rights reserved.
 * Consult your license regarding permissions and restrictions.
V8.03b/17:0063 */
