[libcxx-commits] [PATCH] D114000: [libc++][nfc] Improve standard conformance.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 16 07:05:45 PST 2021
Mordante created this revision.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
The return type of the deleted functions doesn't match the synopsis in
the standard.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114000
Files:
libcxx/include/charconv
Index: libcxx/include/charconv
===================================================================
--- libcxx/include/charconv
+++ libcxx/include/charconv
@@ -107,8 +107,8 @@
#ifndef _LIBCPP_CXX03_LANG
-void to_chars(char*, char*, bool, int = 10) = delete;
-void from_chars(const char*, const char*, bool, int = 10) = delete;
+to_chars_result to_chars(char*, char*, bool, int = 10) = delete;
+from_chars_result from_chars(const char*, const char*, bool, int = 10) = delete;
namespace __itoa
{
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114000.387628.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211116/7efbaa11/attachment.bin>
More information about the libcxx-commits
mailing list