[libcxx-commits] [libcxx] WIP - [libc++][string] P2587R3: `to_string` or not `to_string` (PR #78100)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 25 05:49:09 PDT 2024


================
@@ -247,6 +248,36 @@ long double stold(const wstring& str, size_t* idx) { return as_float<long double
 
 // to_string
 
+#if _LIBCPP_STD_VER >= 26
----------------
frederick-vs-ja wrote:

It seems necessary to change the `<string>` header to support versioning. Perhaps we also need make new version of these functions provided in an inline namespace as the old ones are `_LIBCPP_EXPORTED_FROM_ABI`.

https://github.com/llvm/llvm-project/pull/78100


More information about the libcxx-commits mailing list