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 10module; 11#include <__config> 12#ifndef _LIBCPP_HAS_NO_LOCALIZATION 13# include <istream> 14#endif 15 16export module std:istream; 17#ifndef _LIBCPP_HAS_NO_LOCALIZATION 18export namespace std { 19 using std::basic_istream; 20 21 using std::istream; 22# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS 23 using std::wistream; 24# endif 25 26 using std::basic_iostream; 27 28 using std::iostream; 29# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS 30 using std::wiostream; 31# endif 32 33 using std::ws; 34 35 using std::operator>>; 36} // namespace std 37#endif // _LIBCPP_HAS_NO_LOCALIZATION 38