blob: 788cfe1c61067f4eeeefc4be3440cbdc067ac43b [file] [log] [blame]
Howard Hinnantc51e1022010-05-11 19:42:16 +00001// -*- C++ -*-
2//===--------------------------- iostream ---------------------------------===//
3//
Chandler Carruthd2012102019-01-19 10:56:40 +00004// 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 Hinnantc51e1022010-05-11 19:42:16 +00007//
8//===----------------------------------------------------------------------===//
9
10#ifndef _LIBCPP_IOSTREAM
11#define _LIBCPP_IOSTREAM
12
13/*
14 iostream synopsis
15
16#include <ios>
Howard Hinnantc51e1022010-05-11 19:42:16 +000017#include <istream>
18#include <ostream>
Arthur O'Dwyeref181602021-05-19 11:57:04 -040019#include <streambuf>
Howard Hinnantc51e1022010-05-11 19:42:16 +000020
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>
Howard Hinnantc51e1022010-05-11 19:42:16 +000038#include <istream>
39#include <ostream>
Arthur O'Dwyeref181602021-05-19 11:57:04 -040040#include <streambuf>
Howard Hinnantc51e1022010-05-11 19:42:16 +000041
Howard Hinnantaaaa52b2011-10-17 20:05:10 +000042#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Howard Hinnantc51e1022010-05-11 19:42:16 +000043#pragma GCC system_header
Howard Hinnantaaaa52b2011-10-17 20:05:10 +000044#endif
Howard Hinnantc51e1022010-05-11 19:42:16 +000045
46_LIBCPP_BEGIN_NAMESPACE_STD
47
Howard Hinnant8331b762013-03-06 23:30:19 +000048extern _LIBCPP_FUNC_VIS istream cin;
Howard Hinnant8331b762013-03-06 23:30:19 +000049extern _LIBCPP_FUNC_VIS wistream wcin;
Ed Schouten3a75c0b2015-03-26 14:35:46 +000050extern _LIBCPP_FUNC_VIS ostream cout;
Howard Hinnant8331b762013-03-06 23:30:19 +000051extern _LIBCPP_FUNC_VIS wostream wcout;
Ed Schouten3a75c0b2015-03-26 14:35:46 +000052extern _LIBCPP_FUNC_VIS ostream cerr;
Howard Hinnant8331b762013-03-06 23:30:19 +000053extern _LIBCPP_FUNC_VIS wostream wcerr;
Ed Schouten3a75c0b2015-03-26 14:35:46 +000054extern _LIBCPP_FUNC_VIS ostream clog;
Howard Hinnant8331b762013-03-06 23:30:19 +000055extern _LIBCPP_FUNC_VIS wostream wclog;
Howard Hinnantc51e1022010-05-11 19:42:16 +000056
57_LIBCPP_END_NAMESPACE_STD
58
Louis Dionne2b1ceaa2021-04-20 12:03:32 -040059#endif // _LIBCPP_IOSTREAM