2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_IOSTREAM
11 #define _LIBCPP_IOSTREAM
28 extern wostream wcout;
29 extern wostream wcerr;
30 extern wostream wclog;
36 #include <__assert> // all public C++ headers provide the assertion handler
40 // standard-mandated includes
46 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
47 # pragma GCC system_header
50 _LIBCPP_BEGIN_NAMESPACE_STD
52 extern _LIBCPP_FUNC_VIS istream cin;
53 extern _LIBCPP_FUNC_VIS ostream cout;
54 extern _LIBCPP_FUNC_VIS ostream cerr;
55 extern _LIBCPP_FUNC_VIS ostream clog;
57 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
58 extern _LIBCPP_FUNC_VIS wistream wcin;
59 extern _LIBCPP_FUNC_VIS wostream wcout;
60 extern _LIBCPP_FUNC_VIS wostream wcerr;
61 extern _LIBCPP_FUNC_VIS wostream wclog;
64 _LIBCPP_END_NAMESPACE_STD
66 #endif // _LIBCPP_IOSTREAM