Implements:
- P2291R3 Add Constexpr Modifiers to Functions to_chars and from_chars for Integral Types in <charconv> Header
Paths
| Differential D131317
[libc++] Implements constexpr <charconv>. ClosedPublic Authored by Mordante on Aug 6 2022, 1:55 AM.
Details
Summary Implements:
Diff Detail
Event Timelinephilnik added inline comments.
Comment Actions Thanks for the review!
Mordante marked 3 inline comments as done. Mordante added inline comments.
h-vetinari added inline comments.
Mordante marked an inline comment as done. Comment ActionsReworked the patch to work on main and addressed review comments. ldionne added inline comments.
This revision is now accepted and ready to land.Oct 11 2022, 9:45 AM Comment Actions Thanks for the reviews!
Closed by commit rGa1e13a80d06c: [libc++] Implements constexpr <charconv>. (authored by Mordante). · Explain WhyOct 12 2022, 8:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 467166 libcxx/docs/FeatureTestMacroTable.rst
libcxx/docs/ReleaseNotes.rst
libcxx/docs/Status/Cxx2bPapers.csv
libcxx/include/__charconv/tables.h
libcxx/include/__charconv/to_chars_base_10.h
libcxx/include/charconv
libcxx/include/version
libcxx/src/include/ryu/digit_table.h
libcxx/test/std/language.support/support.limits/support.limits.general/charconv.version.compile.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
libcxx/test/std/utilities/charconv/charconv.from.chars/integral.pass.cpp
libcxx/test/std/utilities/charconv/charconv.from.chars/integral.roundtrip.pass.cpp
libcxx/test/std/utilities/charconv/charconv.to.chars/integral.pass.cpp
libcxx/test/support/charconv_test_helpers.h
libcxx/utils/generate_feature_test_macro_components.py
|
What is the difference between the versions? Why can't the arrays be constexpr before C++17?