// iostream standard header -*-c++-*-
// Copyright 2009-2017 IAR Systems AB.
#ifndef _IOSTREAM_
#define _IOSTREAM_

#ifndef _SYSTEM_BUILD
#pragma system_include
#endif

#include <istream>

namespace std {

// OBJECTS

_DLIB_DATA_ATTR extern istream cin;
_DLIB_DATA_ATTR extern ostream cout;
_DLIB_DATA_ATTR extern ostream cerr;
_DLIB_DATA_ATTR extern ostream clog;

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

// WIDE OBJECTS
_DLIB_DATA_ATTR extern wistream wcin;
_DLIB_DATA_ATTR extern wostream wcout;
_DLIB_DATA_ATTR extern wostream wcerr;
_DLIB_DATA_ATTR extern wostream wclog;

} /* namespace std */

#endif /* _IOSTREAM_ */

/*
 * Copyright (c) by P.J. Plauger. All rights reserved.
 * Consult your license regarding permissions and restrictions.
V6.50:0576 */
