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 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
37 # include <__cxx03/iostream>
42 // standard-mandated includes
50 # if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
51 # pragma GCC system_header
54 _LIBCPP_BEGIN_NAMESPACE_STD
56 extern _LIBCPP_EXPORTED_FROM_ABI istream cin;
57 extern _LIBCPP_EXPORTED_FROM_ABI ostream cout;
58 extern _LIBCPP_EXPORTED_FROM_ABI ostream cerr;
59 extern _LIBCPP_EXPORTED_FROM_ABI ostream clog;
61 # if _LIBCPP_HAS_WIDE_CHARACTERS
62 extern _LIBCPP_EXPORTED_FROM_ABI wistream wcin;
63 extern _LIBCPP_EXPORTED_FROM_ABI wostream wcout;
64 extern _LIBCPP_EXPORTED_FROM_ABI wostream wcerr;
65 extern _LIBCPP_EXPORTED_FROM_ABI wostream wclog;
68 _LIBCPP_END_NAMESPACE_STD
70 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
72 #endif // _LIBCPP_IOSTREAM