xref: /aosp_15_r20/external/libcxx/include/iostream (revision 58b9f456b02922dfdb1fad8a988d5fd8765ecb80)
1*58b9f456SAndroid Build Coastguard Worker// -*- C++ -*-
2*58b9f456SAndroid Build Coastguard Worker//===--------------------------- iostream ---------------------------------===//
3*58b9f456SAndroid Build Coastguard Worker//
4*58b9f456SAndroid Build Coastguard Worker//                     The LLVM Compiler Infrastructure
5*58b9f456SAndroid Build Coastguard Worker//
6*58b9f456SAndroid Build Coastguard Worker// This file is dual licensed under the MIT and the University of Illinois Open
7*58b9f456SAndroid Build Coastguard Worker// Source Licenses. See LICENSE.TXT for details.
8*58b9f456SAndroid Build Coastguard Worker//
9*58b9f456SAndroid Build Coastguard Worker//===----------------------------------------------------------------------===//
10*58b9f456SAndroid Build Coastguard Worker
11*58b9f456SAndroid Build Coastguard Worker#ifndef _LIBCPP_IOSTREAM
12*58b9f456SAndroid Build Coastguard Worker#define _LIBCPP_IOSTREAM
13*58b9f456SAndroid Build Coastguard Worker
14*58b9f456SAndroid Build Coastguard Worker/*
15*58b9f456SAndroid Build Coastguard Worker    iostream synopsis
16*58b9f456SAndroid Build Coastguard Worker
17*58b9f456SAndroid Build Coastguard Worker#include <ios>
18*58b9f456SAndroid Build Coastguard Worker#include <streambuf>
19*58b9f456SAndroid Build Coastguard Worker#include <istream>
20*58b9f456SAndroid Build Coastguard Worker#include <ostream>
21*58b9f456SAndroid Build Coastguard Worker
22*58b9f456SAndroid Build Coastguard Workernamespace std {
23*58b9f456SAndroid Build Coastguard Worker
24*58b9f456SAndroid Build Coastguard Workerextern istream cin;
25*58b9f456SAndroid Build Coastguard Workerextern ostream cout;
26*58b9f456SAndroid Build Coastguard Workerextern ostream cerr;
27*58b9f456SAndroid Build Coastguard Workerextern ostream clog;
28*58b9f456SAndroid Build Coastguard Workerextern wistream wcin;
29*58b9f456SAndroid Build Coastguard Workerextern wostream wcout;
30*58b9f456SAndroid Build Coastguard Workerextern wostream wcerr;
31*58b9f456SAndroid Build Coastguard Workerextern wostream wclog;
32*58b9f456SAndroid Build Coastguard Worker
33*58b9f456SAndroid Build Coastguard Worker}  // std
34*58b9f456SAndroid Build Coastguard Worker
35*58b9f456SAndroid Build Coastguard Worker*/
36*58b9f456SAndroid Build Coastguard Worker
37*58b9f456SAndroid Build Coastguard Worker#include <__config>
38*58b9f456SAndroid Build Coastguard Worker#include <ios>
39*58b9f456SAndroid Build Coastguard Worker#include <streambuf>
40*58b9f456SAndroid Build Coastguard Worker#include <istream>
41*58b9f456SAndroid Build Coastguard Worker#include <ostream>
42*58b9f456SAndroid Build Coastguard Worker
43*58b9f456SAndroid Build Coastguard Worker#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
44*58b9f456SAndroid Build Coastguard Worker#pragma GCC system_header
45*58b9f456SAndroid Build Coastguard Worker#endif
46*58b9f456SAndroid Build Coastguard Worker
47*58b9f456SAndroid Build Coastguard Worker_LIBCPP_BEGIN_NAMESPACE_STD
48*58b9f456SAndroid Build Coastguard Worker
49*58b9f456SAndroid Build Coastguard Worker#ifndef _LIBCPP_HAS_NO_STDIN
50*58b9f456SAndroid Build Coastguard Workerextern _LIBCPP_FUNC_VIS istream cin;
51*58b9f456SAndroid Build Coastguard Workerextern _LIBCPP_FUNC_VIS wistream wcin;
52*58b9f456SAndroid Build Coastguard Worker#endif
53*58b9f456SAndroid Build Coastguard Worker#ifndef _LIBCPP_HAS_NO_STDOUT
54*58b9f456SAndroid Build Coastguard Workerextern _LIBCPP_FUNC_VIS ostream cout;
55*58b9f456SAndroid Build Coastguard Workerextern _LIBCPP_FUNC_VIS wostream wcout;
56*58b9f456SAndroid Build Coastguard Worker#endif
57*58b9f456SAndroid Build Coastguard Workerextern _LIBCPP_FUNC_VIS ostream cerr;
58*58b9f456SAndroid Build Coastguard Workerextern _LIBCPP_FUNC_VIS wostream wcerr;
59*58b9f456SAndroid Build Coastguard Workerextern _LIBCPP_FUNC_VIS ostream clog;
60*58b9f456SAndroid Build Coastguard Workerextern _LIBCPP_FUNC_VIS wostream wclog;
61*58b9f456SAndroid Build Coastguard Worker
62*58b9f456SAndroid Build Coastguard Worker_LIBCPP_END_NAMESPACE_STD
63*58b9f456SAndroid Build Coastguard Worker
64*58b9f456SAndroid Build Coastguard Worker#endif  // _LIBCPP_IOSTREAM
65