xref: /freebsd/contrib/llvm-project/libcxx/include/iostream (revision 0b57cec536236d46e3dba9bd041533462f33dbb7)
1*0b57cec5SDimitry Andric// -*- C++ -*-
2*0b57cec5SDimitry Andric//===--------------------------- iostream ---------------------------------===//
3*0b57cec5SDimitry Andric//
4*0b57cec5SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5*0b57cec5SDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
6*0b57cec5SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7*0b57cec5SDimitry Andric//
8*0b57cec5SDimitry Andric//===----------------------------------------------------------------------===//
9*0b57cec5SDimitry Andric
10*0b57cec5SDimitry Andric#ifndef _LIBCPP_IOSTREAM
11*0b57cec5SDimitry Andric#define _LIBCPP_IOSTREAM
12*0b57cec5SDimitry Andric
13*0b57cec5SDimitry Andric/*
14*0b57cec5SDimitry Andric    iostream synopsis
15*0b57cec5SDimitry Andric
16*0b57cec5SDimitry Andric#include <ios>
17*0b57cec5SDimitry Andric#include <streambuf>
18*0b57cec5SDimitry Andric#include <istream>
19*0b57cec5SDimitry Andric#include <ostream>
20*0b57cec5SDimitry Andric
21*0b57cec5SDimitry Andricnamespace std {
22*0b57cec5SDimitry Andric
23*0b57cec5SDimitry Andricextern istream cin;
24*0b57cec5SDimitry Andricextern ostream cout;
25*0b57cec5SDimitry Andricextern ostream cerr;
26*0b57cec5SDimitry Andricextern ostream clog;
27*0b57cec5SDimitry Andricextern wistream wcin;
28*0b57cec5SDimitry Andricextern wostream wcout;
29*0b57cec5SDimitry Andricextern wostream wcerr;
30*0b57cec5SDimitry Andricextern wostream wclog;
31*0b57cec5SDimitry Andric
32*0b57cec5SDimitry Andric}  // std
33*0b57cec5SDimitry Andric
34*0b57cec5SDimitry Andric*/
35*0b57cec5SDimitry Andric
36*0b57cec5SDimitry Andric#include <__config>
37*0b57cec5SDimitry Andric#include <ios>
38*0b57cec5SDimitry Andric#include <streambuf>
39*0b57cec5SDimitry Andric#include <istream>
40*0b57cec5SDimitry Andric#include <ostream>
41*0b57cec5SDimitry Andric
42*0b57cec5SDimitry Andric#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
43*0b57cec5SDimitry Andric#pragma GCC system_header
44*0b57cec5SDimitry Andric#endif
45*0b57cec5SDimitry Andric
46*0b57cec5SDimitry Andric_LIBCPP_BEGIN_NAMESPACE_STD
47*0b57cec5SDimitry Andric
48*0b57cec5SDimitry Andric#ifndef _LIBCPP_HAS_NO_STDIN
49*0b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS istream cin;
50*0b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS wistream wcin;
51*0b57cec5SDimitry Andric#endif
52*0b57cec5SDimitry Andric#ifndef _LIBCPP_HAS_NO_STDOUT
53*0b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS ostream cout;
54*0b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS wostream wcout;
55*0b57cec5SDimitry Andric#endif
56*0b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS ostream cerr;
57*0b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS wostream wcerr;
58*0b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS ostream clog;
59*0b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS wostream wclog;
60*0b57cec5SDimitry Andric
61*0b57cec5SDimitry Andric_LIBCPP_END_NAMESPACE_STD
62*0b57cec5SDimitry Andric
63*0b57cec5SDimitry Andric#endif  // _LIBCPP_IOSTREAM
64