[libcxx-commits] [PATCH] D59178: [libc++] Speedup to_string and to_wstring for integers using stack buffer and SSO

Marshall Clow via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 12 16:17:51 PDT 2019


mclow.lists added a comment.

In D59178#1426941 <https://reviews.llvm.org/D59178#1426941>, @mclow.lists wrote:

> Now that we have `to_chars`, can we use those facilities for `to_string`? (rather than duplicate them?)


The annoying answer to this is that we don't have `to_chars` support for C++11, but `to_string` exists in C++11.

So it's more complicated than just a simple replacement.


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59178/new/

https://reviews.llvm.org/D59178





More information about the libcxx-commits mailing list