2023-02-28 20:29:26 +01:00
|
|
|
// -*- C++ -*-
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// 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
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
export namespace std {
|
2024-11-06 10:39:19 +01:00
|
|
|
#if _LIBCPP_HAS_LOCALIZATION
|
2023-02-28 20:29:26 +01:00
|
|
|
using std::basic_ostream;
|
|
|
|
|
|
|
|
using std::ostream;
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_WIDE_CHARACTERS
|
2023-02-28 20:29:26 +01:00
|
|
|
using std::wostream;
|
|
|
|
# endif
|
|
|
|
|
|
|
|
using std::endl;
|
|
|
|
using std::ends;
|
|
|
|
using std::flush;
|
|
|
|
|
|
|
|
# if 0
|
|
|
|
using std::emit_on_flush;
|
|
|
|
using std::flush_emit;
|
|
|
|
using std::noemit_on_flush;
|
|
|
|
# endif
|
|
|
|
using std::operator<<;
|
|
|
|
|
2023-12-19 19:32:17 +01:00
|
|
|
# if _LIBCPP_STD_VER >= 23
|
2023-02-28 20:29:26 +01:00
|
|
|
// [ostream.formatted.print], print functions
|
|
|
|
using std::print;
|
|
|
|
using std::println;
|
|
|
|
|
|
|
|
using std::vprint_nonunicode;
|
2024-11-06 10:39:19 +01:00
|
|
|
# if _LIBCPP_HAS_UNICODE
|
2023-02-28 20:29:26 +01:00
|
|
|
using std::vprint_unicode;
|
2024-11-06 10:39:19 +01:00
|
|
|
# endif // _LIBCPP_HAS_UNICODE
|
2024-02-10 22:22:16 +08:00
|
|
|
# endif // _LIBCPP_STD_VER >= 23
|
2023-12-19 19:32:17 +01:00
|
|
|
|
2024-11-06 10:39:19 +01:00
|
|
|
#endif // _LIBCPP_HAS_LOCALIZATION
|
2023-08-02 08:16:09 +02:00
|
|
|
} // namespace std
|