diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-10-02 15:06:40 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-10-02 15:06:40 +0100 |
commit | 804b7cc438701d94db8f958c2211c59f0357b757 (patch) | |
tree | e1a03dca44da9aa855ecc10d42b70286a942ccbe /libstdc++-v3/ChangeLog | |
parent | d1453bec27eea720664c72e23d81bae22dba94ef (diff) | |
download | gcc-804b7cc438701d94db8f958c2211c59f0357b757.zip gcc-804b7cc438701d94db8f958c2211c59f0357b757.tar.gz gcc-804b7cc438701d94db8f958c2211c59f0357b757.tar.bz2 |
C++17 P0067R5 std::to_chars and std::from_chars (partial)
This adds the integral overloads of std::to_chars and std::from_chars,
including the changes made by P0682R0. Support for floating point types
is absent.
* include/Makefile.am: Add new <charconv> header.
* include/Makefile.in: Regenerate.
* include/precompiled/stdc++.h: Include <charconv>.
* include/std/charconv: New file.
(to_chars_result, to_chars, from_chars_result, from_chars): Define.
* testsuite/20_util/from_chars/1.cc: New test.
* testsuite/20_util/from_chars/1_neg.cc: New test.
* testsuite/20_util/from_chars/2.cc: New test.
* testsuite/20_util/from_chars/requirements.cc: New test.
* testsuite/20_util/to_chars/1.cc: New test.
* testsuite/20_util/to_chars/1_neg.cc: New test.
* testsuite/20_util/to_chars/2.cc: New test.
* testsuite/20_util/to_chars/requirements.cc: New test.
From-SVN: r253353
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r-- | libstdc++-v3/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fde6ec9..12ac61d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,19 @@ +2017-10-02 Jonathan Wakely <jwakely@redhat.com> + + * include/Makefile.am: Add new <charconv> header. + * include/Makefile.in: Regenerate. + * include/precompiled/stdc++.h: Include <charconv>. + * include/std/charconv: New file. + (to_chars_result, to_chars, from_chars_result, from_chars): Define. + * testsuite/20_util/from_chars/1.cc: New test. + * testsuite/20_util/from_chars/1_neg.cc: New test. + * testsuite/20_util/from_chars/2.cc: New test. + * testsuite/20_util/from_chars/requirements.cc: New test. + * testsuite/20_util/to_chars/1.cc: New test. + * testsuite/20_util/to_chars/1_neg.cc: New test. + * testsuite/20_util/to_chars/2.cc: New test. + * testsuite/20_util/to_chars/requirements.cc: New test. + 2017-09-27 François Dumont <fdumont@gcc.gnu.org> * testsuite/22_locale/money_get/get/char/22131.cc: Make test less |