2 //===--------------------------- iostream ---------------------------------===//
4 // The LLVM Compiler Infrastructure
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 #ifndef _LIBCPP_IOSTREAM
12 #define _LIBCPP_IOSTREAM
29 extern wostream wcout;
30 extern wostream wcerr;
31 extern wostream wclog;
43 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
44 #pragma GCC system_header
47 _LIBCPP_BEGIN_NAMESPACE_STD
49 #ifndef _LIBCPP_HAS_NO_STDIN
50 extern _LIBCPP_FUNC_VIS istream cin;
51 extern _LIBCPP_FUNC_VIS wistream wcin;
53 #ifndef _LIBCPP_HAS_NO_STDOUT
54 extern _LIBCPP_FUNC_VIS ostream cout;
55 extern _LIBCPP_FUNC_VIS wostream wcout;
57 extern _LIBCPP_FUNC_VIS ostream cerr;
58 extern _LIBCPP_FUNC_VIS wostream wcerr;
59 extern _LIBCPP_FUNC_VIS ostream clog;
60 extern _LIBCPP_FUNC_VIS wostream wclog;
62 _LIBCPP_END_NAMESPACE_STD
64 #endif // _LIBCPP_IOSTREAM