1// -*- C++ -*- 2//===----------------------------------------------------------------------===// 3// 4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5// See https://llvm.org/LICENSE.txt for license information. 6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7// 8//===----------------------------------------------------------------------===// 9 10#ifndef _LIBCPP___CXX03_IOSTREAM 11#define _LIBCPP___CXX03_IOSTREAM 12 13/* 14 iostream synopsis 15 16#include <__cxx03/ios> 17#include <__cxx03/istream> 18#include <__cxx03/ostream> 19#include <__cxx03/streambuf> 20 21namespace std { 22 23extern istream cin; 24extern ostream cout; 25extern ostream cerr; 26extern ostream clog; 27extern wistream wcin; 28extern wostream wcout; 29extern wostream wcerr; 30extern wostream wclog; 31 32} // std 33 34*/ 35 36#include <__cxx03/__config> 37#include <__cxx03/version> 38 39// standard-mandated includes 40 41// [iostream.syn] 42#include <__cxx03/ios> 43#include <__cxx03/istream> 44#include <__cxx03/ostream> 45#include <__cxx03/streambuf> 46 47#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 48# pragma GCC system_header 49#endif 50 51_LIBCPP_BEGIN_NAMESPACE_STD 52 53extern _LIBCPP_EXPORTED_FROM_ABI istream cin; 54extern _LIBCPP_EXPORTED_FROM_ABI ostream cout; 55extern _LIBCPP_EXPORTED_FROM_ABI ostream cerr; 56extern _LIBCPP_EXPORTED_FROM_ABI ostream clog; 57 58#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS 59extern _LIBCPP_EXPORTED_FROM_ABI wistream wcin; 60extern _LIBCPP_EXPORTED_FROM_ABI wostream wcout; 61extern _LIBCPP_EXPORTED_FROM_ABI wostream wcerr; 62extern _LIBCPP_EXPORTED_FROM_ABI wostream wclog; 63#endif 64 65_LIBCPP_END_NAMESPACE_STD 66 67#endif // _LIBCPP___CXX03_IOSTREAM 68