[libcxx-commits] [PATCH] D59598: Make the `<charconv>` header usable with C++11

Marshall Clow via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 20 08:38:13 PDT 2019


mclow.lists created this revision.
mclow.lists added reviewers: EricWF, ldionne, lichray, ivafanas.
Herald added a subscriber: christof.

We already support `to_chars` and `from_chars` back to C++14. 
Tweak the code so that we can use it from C++11.

The motivation for this is D59178 <https://reviews.llvm.org/D59178>.
I really don't want *another* "integer to string" implementation in libc++.


https://reviews.llvm.org/D59598

Files:
  libcxx/include/charconv
  libcxx/test/std/utilities/charconv/charconv.from.chars/integral.bool.fail.cpp
  libcxx/test/std/utilities/charconv/charconv.from.chars/integral.pass.cpp
  libcxx/test/std/utilities/charconv/charconv.to.chars/integral.bool.fail.cpp
  libcxx/test/std/utilities/charconv/charconv.to.chars/integral.pass.cpp
  libcxx/test/support/charconv_test_helpers.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59598.191499.patch
Type: text/x-patch
Size: 9172 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190320/4bd04665/attachment.bin>


More information about the libcxx-commits mailing list