xref: /freebsd/contrib/llvm-project/libcxx/include/iostream (revision 349cc55c9796c4596a5b9904cd3281af295f878f)
10b57cec5SDimitry Andric// -*- C++ -*-
2*349cc55cSDimitry Andric//===----------------------------------------------------------------------===//
30b57cec5SDimitry Andric//
40b57cec5SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
50b57cec5SDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
60b57cec5SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
70b57cec5SDimitry Andric//
80b57cec5SDimitry Andric//===----------------------------------------------------------------------===//
90b57cec5SDimitry Andric
100b57cec5SDimitry Andric#ifndef _LIBCPP_IOSTREAM
110b57cec5SDimitry Andric#define _LIBCPP_IOSTREAM
120b57cec5SDimitry Andric
130b57cec5SDimitry Andric/*
140b57cec5SDimitry Andric    iostream synopsis
150b57cec5SDimitry Andric
160b57cec5SDimitry Andric#include <ios>
170b57cec5SDimitry Andric#include <istream>
180b57cec5SDimitry Andric#include <ostream>
19fe6060f1SDimitry Andric#include <streambuf>
200b57cec5SDimitry Andric
210b57cec5SDimitry Andricnamespace std {
220b57cec5SDimitry Andric
230b57cec5SDimitry Andricextern istream cin;
240b57cec5SDimitry Andricextern ostream cout;
250b57cec5SDimitry Andricextern ostream cerr;
260b57cec5SDimitry Andricextern ostream clog;
270b57cec5SDimitry Andricextern wistream wcin;
280b57cec5SDimitry Andricextern wostream wcout;
290b57cec5SDimitry Andricextern wostream wcerr;
300b57cec5SDimitry Andricextern wostream wclog;
310b57cec5SDimitry Andric
320b57cec5SDimitry Andric}  // std
330b57cec5SDimitry Andric
340b57cec5SDimitry Andric*/
350b57cec5SDimitry Andric
360b57cec5SDimitry Andric#include <__config>
370b57cec5SDimitry Andric#include <ios>
380b57cec5SDimitry Andric#include <istream>
390b57cec5SDimitry Andric#include <ostream>
40fe6060f1SDimitry Andric#include <streambuf>
410b57cec5SDimitry Andric
420b57cec5SDimitry Andric#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
430b57cec5SDimitry Andric#pragma GCC system_header
440b57cec5SDimitry Andric#endif
450b57cec5SDimitry Andric
460b57cec5SDimitry Andric_LIBCPP_BEGIN_NAMESPACE_STD
470b57cec5SDimitry Andric
480b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS istream cin;
490b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS ostream cout;
500b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS ostream cerr;
510b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS ostream clog;
52*349cc55cSDimitry Andric
53*349cc55cSDimitry Andric#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
54*349cc55cSDimitry Andricextern _LIBCPP_FUNC_VIS wistream wcin;
55*349cc55cSDimitry Andricextern _LIBCPP_FUNC_VIS wostream wcout;
56*349cc55cSDimitry Andricextern _LIBCPP_FUNC_VIS wostream wcerr;
570b57cec5SDimitry Andricextern _LIBCPP_FUNC_VIS wostream wclog;
58*349cc55cSDimitry Andric#endif
590b57cec5SDimitry Andric
600b57cec5SDimitry Andric_LIBCPP_END_NAMESPACE_STD
610b57cec5SDimitry Andric
620b57cec5SDimitry Andric#endif // _LIBCPP_IOSTREAM
63