xref: /minix3/external/bsd/libc++/dist/libcxx/include/iostream (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
14684ddb6SLionel Sambuc// -*- C++ -*-
24684ddb6SLionel Sambuc//===--------------------------- iostream ---------------------------------===//
34684ddb6SLionel Sambuc//
44684ddb6SLionel Sambuc//                     The LLVM Compiler Infrastructure
54684ddb6SLionel Sambuc//
64684ddb6SLionel Sambuc// This file is dual licensed under the MIT and the University of Illinois Open
74684ddb6SLionel Sambuc// Source Licenses. See LICENSE.TXT for details.
84684ddb6SLionel Sambuc//
94684ddb6SLionel Sambuc//===----------------------------------------------------------------------===//
104684ddb6SLionel Sambuc
114684ddb6SLionel Sambuc#ifndef _LIBCPP_IOSTREAM
124684ddb6SLionel Sambuc#define _LIBCPP_IOSTREAM
134684ddb6SLionel Sambuc
144684ddb6SLionel Sambuc/*
154684ddb6SLionel Sambuc    iostream synopsis
164684ddb6SLionel Sambuc
174684ddb6SLionel Sambuc#include <ios>
184684ddb6SLionel Sambuc#include <streambuf>
194684ddb6SLionel Sambuc#include <istream>
204684ddb6SLionel Sambuc#include <ostream>
214684ddb6SLionel Sambuc
224684ddb6SLionel Sambucnamespace std {
234684ddb6SLionel Sambuc
244684ddb6SLionel Sambucextern istream cin;
254684ddb6SLionel Sambucextern ostream cout;
264684ddb6SLionel Sambucextern ostream cerr;
274684ddb6SLionel Sambucextern ostream clog;
284684ddb6SLionel Sambucextern wistream wcin;
294684ddb6SLionel Sambucextern wostream wcout;
304684ddb6SLionel Sambucextern wostream wcerr;
314684ddb6SLionel Sambucextern wostream wclog;
324684ddb6SLionel Sambuc
334684ddb6SLionel Sambuc}  // std
344684ddb6SLionel Sambuc
354684ddb6SLionel Sambuc*/
364684ddb6SLionel Sambuc
374684ddb6SLionel Sambuc#include <__config>
384684ddb6SLionel Sambuc#include <ios>
394684ddb6SLionel Sambuc#include <streambuf>
404684ddb6SLionel Sambuc#include <istream>
414684ddb6SLionel Sambuc#include <ostream>
424684ddb6SLionel Sambuc
434684ddb6SLionel Sambuc#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
444684ddb6SLionel Sambuc#pragma GCC system_header
454684ddb6SLionel Sambuc#endif
464684ddb6SLionel Sambuc
474684ddb6SLionel Sambuc_LIBCPP_BEGIN_NAMESPACE_STD
484684ddb6SLionel Sambuc
49*0a6a1f1dSLionel Sambuc#ifndef _LIBCPP_HAS_NO_STDIN
504684ddb6SLionel Sambucextern _LIBCPP_FUNC_VIS istream cin;
514684ddb6SLionel Sambucextern _LIBCPP_FUNC_VIS wistream wcin;
52*0a6a1f1dSLionel Sambuc#endif
53*0a6a1f1dSLionel Sambuc#ifndef _LIBCPP_HAS_NO_STDOUT
54*0a6a1f1dSLionel Sambucextern _LIBCPP_FUNC_VIS ostream cout;
554684ddb6SLionel Sambucextern _LIBCPP_FUNC_VIS wostream wcout;
56*0a6a1f1dSLionel Sambuc#endif
57*0a6a1f1dSLionel Sambucextern _LIBCPP_FUNC_VIS ostream cerr;
584684ddb6SLionel Sambucextern _LIBCPP_FUNC_VIS wostream wcerr;
59*0a6a1f1dSLionel Sambucextern _LIBCPP_FUNC_VIS ostream clog;
604684ddb6SLionel Sambucextern _LIBCPP_FUNC_VIS wostream wclog;
614684ddb6SLionel Sambuc
624684ddb6SLionel Sambuc_LIBCPP_END_NAMESPACE_STD
634684ddb6SLionel Sambuc
644684ddb6SLionel Sambuc#endif  // _LIBCPP_IOSTREAM
65