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