10b57cec5SDimitry Andric// -*- C++ -*- 2349cc55cSDimitry 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> 3781ad6265SDimitry Andric#include <version> 3881ad6265SDimitry Andric 3981ad6265SDimitry Andric// standard-mandated includes 40bdd1243dSDimitry Andric 41bdd1243dSDimitry Andric// [iostream.syn] 420b57cec5SDimitry Andric#include <ios> 430b57cec5SDimitry Andric#include <istream> 440b57cec5SDimitry Andric#include <ostream> 45fe6060f1SDimitry Andric#include <streambuf> 460b57cec5SDimitry Andric 470b57cec5SDimitry Andric#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 480b57cec5SDimitry Andric# pragma GCC system_header 490b57cec5SDimitry Andric#endif 500b57cec5SDimitry Andric 510b57cec5SDimitry Andric_LIBCPP_BEGIN_NAMESPACE_STD 520b57cec5SDimitry Andric 53*06c3fb27SDimitry Andricextern _LIBCPP_EXPORTED_FROM_ABI istream cin; 54*06c3fb27SDimitry Andricextern _LIBCPP_EXPORTED_FROM_ABI ostream cout; 55*06c3fb27SDimitry Andricextern _LIBCPP_EXPORTED_FROM_ABI ostream cerr; 56*06c3fb27SDimitry Andricextern _LIBCPP_EXPORTED_FROM_ABI ostream clog; 57349cc55cSDimitry Andric 58349cc55cSDimitry Andric#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS 59*06c3fb27SDimitry Andricextern _LIBCPP_EXPORTED_FROM_ABI wistream wcin; 60*06c3fb27SDimitry Andricextern _LIBCPP_EXPORTED_FROM_ABI wostream wcout; 61*06c3fb27SDimitry Andricextern _LIBCPP_EXPORTED_FROM_ABI wostream wcerr; 62*06c3fb27SDimitry Andricextern _LIBCPP_EXPORTED_FROM_ABI wostream wclog; 63349cc55cSDimitry Andric#endif 640b57cec5SDimitry Andric 650b57cec5SDimitry Andric_LIBCPP_END_NAMESPACE_STD 660b57cec5SDimitry Andric 670b57cec5SDimitry Andric#endif // _LIBCPP_IOSTREAM 68