2010-05-11 19:42:16 +00:00
|
|
|
// -*- C++ -*-
|
2021-11-17 21:25:01 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
2010-05-11 19:42:16 +00:00
|
|
|
//
|
2019-01-19 10:56:40 +00:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2010-05-11 19:42:16 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef _LIBCPP_IOSTREAM
|
|
|
|
#define _LIBCPP_IOSTREAM
|
|
|
|
|
|
|
|
/*
|
|
|
|
iostream synopsis
|
|
|
|
|
|
|
|
#include <ios>
|
|
|
|
#include <istream>
|
|
|
|
#include <ostream>
|
2021-05-19 15:57:04 +00:00
|
|
|
#include <streambuf>
|
2010-05-11 19:42:16 +00:00
|
|
|
|
|
|
|
namespace std {
|
|
|
|
|
|
|
|
extern istream cin;
|
|
|
|
extern ostream cout;
|
|
|
|
extern ostream cerr;
|
|
|
|
extern ostream clog;
|
|
|
|
extern wistream wcin;
|
|
|
|
extern wostream wcout;
|
|
|
|
extern wostream wcerr;
|
|
|
|
extern wostream wclog;
|
|
|
|
|
|
|
|
} // std
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2022-03-25 16:55:36 +00:00
|
|
|
#include <__assert> // all public C++ headers provide the assertion handler
|
2010-05-11 19:42:16 +00:00
|
|
|
#include <__config>
|
2022-06-16 20:43:46 +00:00
|
|
|
#include <version>
|
|
|
|
|
|
|
|
// standard-mandated includes
|
2022-09-22 16:05:08 +00:00
|
|
|
|
|
|
|
// [iostream.syn]
|
2010-05-11 19:42:16 +00:00
|
|
|
#include <ios>
|
|
|
|
#include <istream>
|
|
|
|
#include <ostream>
|
2021-05-19 15:57:04 +00:00
|
|
|
#include <streambuf>
|
2010-05-11 19:42:16 +00:00
|
|
|
|
2011-10-17 20:05:10 +00:00
|
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
2022-02-02 01:16:40 +00:00
|
|
|
# pragma GCC system_header
|
2011-10-17 20:05:10 +00:00
|
|
|
#endif
|
2010-05-11 19:42:16 +00:00
|
|
|
|
|
|
|
_LIBCPP_BEGIN_NAMESPACE_STD
|
|
|
|
|
2023-06-14 17:17:50 +00:00
|
|
|
extern _LIBCPP_EXPORTED_FROM_ABI istream cin;
|
|
|
|
extern _LIBCPP_EXPORTED_FROM_ABI ostream cout;
|
|
|
|
extern _LIBCPP_EXPORTED_FROM_ABI ostream cerr;
|
|
|
|
extern _LIBCPP_EXPORTED_FROM_ABI ostream clog;
|
2021-08-23 19:32:36 +00:00
|
|
|
|
|
|
|
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
|
2023-06-14 17:17:50 +00:00
|
|
|
extern _LIBCPP_EXPORTED_FROM_ABI wistream wcin;
|
|
|
|
extern _LIBCPP_EXPORTED_FROM_ABI wostream wcout;
|
|
|
|
extern _LIBCPP_EXPORTED_FROM_ABI wostream wcerr;
|
|
|
|
extern _LIBCPP_EXPORTED_FROM_ABI wostream wclog;
|
2021-08-23 19:32:36 +00:00
|
|
|
#endif
|
2010-05-11 19:42:16 +00:00
|
|
|
|
|
|
|
_LIBCPP_END_NAMESPACE_STD
|
|
|
|
|
2021-04-20 16:03:32 +00:00
|
|
|
#endif // _LIBCPP_IOSTREAM
|