blob: 595620b8aa62da9ee8d0790efe856f0c200757b7 [file] [log] [blame]
Howard Hinnantbc8d3f92010-05-11 19:42:161// -*- C++ -*-
2//===--------------------------- iostream ---------------------------------===//
3//
Chandler Carruth7c3769d2019-01-19 10:56:404// 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
Howard Hinnantbc8d3f92010-05-11 19:42:167//
8//===----------------------------------------------------------------------===//
9
10#ifndef _LIBCPP_IOSTREAM
11#define _LIBCPP_IOSTREAM
12
13/*
14 iostream synopsis
15
16#include <ios>
17#include <streambuf>
18#include <istream>
19#include <ostream>
20
21namespace std {
22
23extern istream cin;
24extern ostream cout;
25extern ostream cerr;
26extern ostream clog;
27extern wistream wcin;
28extern wostream wcout;
29extern wostream wcerr;
30extern wostream wclog;
31
32} // std
33
34*/
35
36#include <__config>
37#include <ios>
38#include <streambuf>
39#include <istream>
40#include <ostream>
41
Howard Hinnant08e17472011-10-17 20:05:1042#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Howard Hinnantbc8d3f92010-05-11 19:42:1643#pragma GCC system_header
Howard Hinnant08e17472011-10-17 20:05:1044#endif
Howard Hinnantbc8d3f92010-05-11 19:42:1645
46_LIBCPP_BEGIN_NAMESPACE_STD
47
Ed Schoutenabd06b42015-03-26 14:35:4648#ifndef _LIBCPP_HAS_NO_STDIN
Howard Hinnant83eade62013-03-06 23:30:1949extern _LIBCPP_FUNC_VIS istream cin;
Howard Hinnant83eade62013-03-06 23:30:1950extern _LIBCPP_FUNC_VIS wistream wcin;
Ed Schoutenabd06b42015-03-26 14:35:4651#endif
52#ifndef _LIBCPP_HAS_NO_STDOUT
53extern _LIBCPP_FUNC_VIS ostream cout;
Howard Hinnant83eade62013-03-06 23:30:1954extern _LIBCPP_FUNC_VIS wostream wcout;
Ed Schoutenabd06b42015-03-26 14:35:4655#endif
56extern _LIBCPP_FUNC_VIS ostream cerr;
Howard Hinnant83eade62013-03-06 23:30:1957extern _LIBCPP_FUNC_VIS wostream wcerr;
Ed Schoutenabd06b42015-03-26 14:35:4658extern _LIBCPP_FUNC_VIS ostream clog;
Howard Hinnant83eade62013-03-06 23:30:1959extern _LIBCPP_FUNC_VIS wostream wclog;
Howard Hinnantbc8d3f92010-05-11 19:42:1660
61_LIBCPP_END_NAMESPACE_STD
62
63#endif // _LIBCPP_IOSTREAM