-
Notifications
You must be signed in to change notification settings - Fork 13.5k
P0619R4: Reviewing Deprecated Facilities of C++17 for C++20 #99985
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
Labels
c++20
libc++
libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
metabug
Issue to collect references to a group of similar or related issues.
wg21 paper
Issues representing the implementation of a WG21 paper
Comments
@llvm/issue-subscribers-c-20 Author: Christopher Di Bella (cjdb)
The [status page](https://libcxx.llvm.org/Status/Cxx20.html#note-p0619) notes that
> P0619: Only sections D.8, D.9, D.10 and D.13 are implemented. Sections D.4, D.7, D.11, and D.12 remain undone. |
|
It seems that |
ldionne
pushed a commit
that referenced
this issue
Aug 27, 2024
Loading
Loading status checks…
Works towards P0619R4/#99985. - std::uncaught_exception was not previously deprecated. This patch deprecates it since C++17 as per N4259. std::uncaught_exceptions is used instead as libc++ unconditionally provides this function. - _LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION restores std::uncaught_exception. - As a drive-by, this patch updates the C++20 status page to explain that D.11 is already done, since it was done in 578d09c.
ldionne
pushed a commit
that referenced
this issue
Sep 16, 2024
Loading
Loading status checks…
…0914) Works towards P0619R4 / #99985. The use of `std::get_temporary_buffer` and `std::return_temporary_buffer` are replaced with `unique_ptr`-based RAII buffer holder. Escape hatches: - `_LIBCPP_ENABLE_CXX20_REMOVED_TEMPORARY_BUFFER` restores `std::get_temporary_buffer` and `std::return_temporary_buffer`. Drive-by changes: - In `<syncstream>`, states that `get_temporary_buffer` is now removed, because `<syncstream>` is added in C++20.
frederick-vs-ja
added a commit
that referenced
this issue
Oct 30, 2024
This PR deprecates `<ccomplex>`, `<cstdbool>`, `<ctgmath>`, and `<ciso646>` in C++17 and "removes" them in C++20 by special deprecation warnings. `<cstdalign>` is previously missing. This PR also tries to add them, and then deprecates and "removes" `<cstdalign>`. Papers: - https://wg21.link/P0063R3 - https://wg21.link/P0619R4 Closes #99985. --------- Co-authored-by: Louis Dionne <[email protected]>
NoumanAmir657
pushed a commit
to NoumanAmir657/llvm-project
that referenced
this issue
Nov 4, 2024
This PR deprecates `<ccomplex>`, `<cstdbool>`, `<ctgmath>`, and `<ciso646>` in C++17 and "removes" them in C++20 by special deprecation warnings. `<cstdalign>` is previously missing. This PR also tries to add them, and then deprecates and "removes" `<cstdalign>`. Papers: - https://wg21.link/P0063R3 - https://wg21.link/P0619R4 Closes llvm#99985. --------- Co-authored-by: Louis Dionne <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
c++20
libc++
libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
metabug
Issue to collect references to a group of similar or related issues.
wg21 paper
Issues representing the implementation of a WG21 paper
Link: https://wg21.link/p0619r4
The text was updated successfully, but these errors were encountered: