brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 4a0b21c Raw
29 lines · plain
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-exception7//8//===----------------------------------------------------------------------===//9 10export namespace std {11  // Note the Standard does not mark these symbols optional, but libc++'s header12  // does. So this seems strictly not to be conforming.13 14  // mbstate_t is conditionally here, but always present in cwchar.cppm. To avoid15  // conflicing declarations omit the using here.16 17  // size_t is conditionally here, but always present in cstddef.cppm. To avoid18  // conflicing declarations omit the using here.19 20#if _LIBCPP_HAS_C8RTOMB_MBRTOC821  using std::mbrtoc8 _LIBCPP_USING_IF_EXISTS;22  using std::c8rtomb _LIBCPP_USING_IF_EXISTS;23#endif24  using std::mbrtoc16 _LIBCPP_USING_IF_EXISTS;25  using std::c16rtomb _LIBCPP_USING_IF_EXISTS;26  using std::mbrtoc32 _LIBCPP_USING_IF_EXISTS;27  using std::c32rtomb _LIBCPP_USING_IF_EXISTS;28} // namespace std29