Warning, /include/c++/v1/iostream is written in an unsupported language. File is not indexed.
0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009
0010 #ifndef _LIBCPP_IOSTREAM
0011 #define _LIBCPP_IOSTREAM
0012
0013 /*
0014 iostream synopsis
0015
0016 #include <ios>
0017 #include <istream>
0018 #include <ostream>
0019 #include <streambuf>
0020
0021 namespace std {
0022
0023 extern istream cin;
0024 extern ostream cout;
0025 extern ostream cerr;
0026 extern ostream clog;
0027 extern wistream wcin;
0028 extern wostream wcout;
0029 extern wostream wcerr;
0030 extern wostream wclog;
0031
0032 } // std
0033
0034 */
0035
0036 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0037 # include <__cxx03/iostream>
0038 #else
0039 # include <__config>
0040 # include <version>
0041
0042 // standard-mandated includes
0043
0044 // [iostream.syn]
0045 # include <ios>
0046 # include <istream>
0047 # include <ostream>
0048 # include <streambuf>
0049
0050 # if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0051 # pragma GCC system_header
0052 # endif
0053
0054 _LIBCPP_BEGIN_NAMESPACE_STD
0055
0056 extern _LIBCPP_EXPORTED_FROM_ABI istream cin;
0057 extern _LIBCPP_EXPORTED_FROM_ABI ostream cout;
0058 extern _LIBCPP_EXPORTED_FROM_ABI ostream cerr;
0059 extern _LIBCPP_EXPORTED_FROM_ABI ostream clog;
0060
0061 # if _LIBCPP_HAS_WIDE_CHARACTERS
0062 extern _LIBCPP_EXPORTED_FROM_ABI wistream wcin;
0063 extern _LIBCPP_EXPORTED_FROM_ABI wostream wcout;
0064 extern _LIBCPP_EXPORTED_FROM_ABI wostream wcerr;
0065 extern _LIBCPP_EXPORTED_FROM_ABI wostream wclog;
0066 # endif
0067
0068 _LIBCPP_END_NAMESPACE_STD
0069
0070 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0071
0072 #endif // _LIBCPP_IOSTREAM