• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 <iostream>
14#endif
15
16export module std:iostream;
17#ifndef _LIBCPP_HAS_NO_LOCALIZATION
18export namespace std {
19  using std::cerr;
20  using std::cin;
21  using std::clog;
22  using std::cout;
23
24#  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
25  using std::wcerr;
26  using std::wcin;
27  using std::wclog;
28  using std::wcout;
29#  endif
30} // namespace std
31#endif // _LIBCPP_HAS_NO_LOCALIZATION
32