diff options
author | Mark de Wever <koraq@xs4all.nl> | 2022-08-06 10:47:53 +0200 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2022-10-12 17:43:23 +0200 |
commit | a1e13a80d06c2d1764ab573df06a3b903f134703 (patch) | |
tree | 33ca73edeeabf9eaa8e51cd1058aa40b69f715ce /libcxx/src | |
parent | 261b5abf72cf4cdee240b6887efb6a422e744294 (diff) | |
download | llvm-a1e13a80d06c2d1764ab573df06a3b903f134703.tar.gz |
[libc++] Implements constexpr <charconv>.
Implements:
- P2291R3 Add Constexpr Modifiers to Functions to_chars and from_chars for
Integral Types in <charconv> Header
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D131317
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/include/ryu/digit_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/include/ryu/digit_table.h b/libcxx/src/include/ryu/digit_table.h index c57a0966ef2c..bf660b0be785 100644 --- a/libcxx/src/include/ryu/digit_table.h +++ b/libcxx/src/include/ryu/digit_table.h @@ -50,7 +50,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD // In order to minimize the diff in the Ryu code between MSVC STL and libc++ // the code uses the name __DIGIT_TABLE. In order to avoid code duplication it // reuses the table already available in libc++. -inline constexpr auto& __DIGIT_TABLE = __itoa::__table<>::__digits_base_10; +inline constexpr auto& __DIGIT_TABLE = __itoa::__digits_base_10; _LIBCPP_END_NAMESPACE_STD |