-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Unexpected error when using libc++ (call to deleted function 'from_chars') #59374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you please try 15 or |
|
To whom it may concern: the paper partially implemented is P0067r5. It proved to be a pain to implement to MSVC team (source code) and possibly it was implemented in gcc with an hack. Do you have an idea on how/when this could be delivered to llvm as well? I would definitely not blame the team if you follow the gcc path, after all only a fraction of the potential users would need the round trip feature of |
The fastest way to get it is to implement it and provide the implementation to libc++. Otherwise you have to hope that someone feels like implementing it. For the most part, libc++ is being worked on by volunteers. Only a relatively small part of the code is provided by any companies. |
I understand, thanks for pointing it out. Stephan T. Lavavej of MSVC team explained he worked about 1 year on this, which should be scaring to anyone with a job or any other activity. This also a reason why hacks or code "stealing" (respecting licenses, OFC) should be seriously considered to implement this paper. Sorry but I'm not devoted enough to llvm to be a contributor, especially on this subject: with my post I wanted to leave a note to anybody passing by explaining why |
Even when using external code it's not a trivial task. Stephan contributed MSVC's version of |
Stumbled over this while looking for the status of P0067R5; took me a while to unearth some old comments on this topic in https://reviews.llvm.org/D70631:
I guess we can all but hope1 that the stack of C++20/23 Footnotes
|
That's almost done. The large part left is implementing the missing chrono parts so I can add formatters for these parts. Unfortunately I feel the library support for You probably have noted I've a strong interest in the Adding support to |
Completely understandable! :) |
I'm wondering if it wouldn't make sense to keep this issue open as a tracker for finishing the implementation of P0067R5, particularly the Footnotes |
I prefer to keep it closed, we don't use the issue tracker to track libc++'s implementation status. We have the status page for that. Having some missing features as a bugs will cause us to forget closing bugs. |
Code
Compile with
clang++ -std=c++17 -stdlib=libc++
Error:
Versions:
Clang / libc++: 14.0.6
Other information
Error does NOT occur when:
-stdlib=libc++
The text was updated successfully, but these errors were encountered: