[libcxx-commits] [libcxx] [libc++] Implements Runtime format strings II. (PR #72543)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 21 23:04:19 PST 2023
================
@@ -0,0 +1,72 @@
+//===----------------------------------------------------------------------===//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
+// UNSUPPORTED: no-localization
+// UNSUPPORTED: GCC-ALWAYS_INLINE-FIXME
+
+// XFAIL: availability-fp_to_chars-missing
+
+// <format>
+
+// template<class charT, class... Args>
+// struct basic_format_string {
+// ...
+// basic_format_string(runtime-format-string<charT> s) noexcept : str(s.str) {}
+// ...
+// }
+
+// template<class... Args>
+// string format(const locale& loc, format_string<Args...> fmt, const Args&... args);
----------------
mordante wrote:
Indeed an copy-paste.
https://github.com/llvm/llvm-project/pull/72543
More information about the libcxx-commits
mailing list