| 1 |
=========================================== |
| 2 |
Libc++ 20.0.0 (In-Progress) Release Notes |
| 3 |
=========================================== |
| 4 |
|
| 5 |
.. contents:: |
| 6 |
:local: |
| 7 |
:depth: 2 |
| 8 |
|
| 9 |
Written by the `Libc++ Team <https://libcxx.llvm.org>`_ |
| 10 |
|
| 11 |
.. warning:: |
| 12 |
|
| 13 |
These are in-progress notes for the upcoming libc++ 20.0.0 release. |
| 14 |
Release notes for previous releases can be found on |
| 15 |
`the Download Page <https://releases.llvm.org/download.html>`_. |
| 16 |
|
| 17 |
Introduction |
| 18 |
============ |
| 19 |
|
| 20 |
This document contains the release notes for the libc++ C++ Standard Library, |
| 21 |
part of the LLVM Compiler Infrastructure, release 20.0.0. Here we describe the |
| 22 |
status of libc++ in some detail, including major improvements from the previous |
| 23 |
release and new feature work. For the general LLVM release notes, see `the LLVM |
| 24 |
documentation <https://llvm.org/docs/ReleaseNotes.html>`_. All LLVM releases may |
| 25 |
be downloaded from the `LLVM releases web site <https://llvm.org/releases/>`_. |
| 26 |
|
| 27 |
For more information about libc++, please see the `Libc++ Web Site |
| 28 |
<https://libcxx.llvm.org>`_ or the `LLVM Web Site <https://llvm.org>`_. |
| 29 |
|
| 30 |
Note that if you are reading this file from a Git checkout or the |
| 31 |
main Libc++ web page, this document applies to the *next* release, not |
| 32 |
the current one. To see the release notes for a specific release, please |
| 33 |
see the `releases page <https://llvm.org/releases/>`_. |
| 34 |
|
| 35 |
What's New in Libc++ 20.0.0? |
| 36 |
============================== |
| 37 |
|
| 38 |
Implemented Papers |
| 39 |
------------------ |
| 40 |
|
| 41 |
- TODO |
| 42 |
|
| 43 |
|
| 44 |
Improvements and New Features |
| 45 |
----------------------------- |
| 46 |
|
| 47 |
- TODO |
| 48 |
|
| 49 |
|
| 50 |
Deprecations and Removals |
| 51 |
------------------------- |
| 52 |
|
| 53 |
- TODO: The ``LIBCXX_ENABLE_ASSERTIONS`` CMake variable and the ``_LIBCPP_ENABLE_ASSERTIONS`` macro that were used to enable |
| 54 |
the safe mode will be removed in LLVM 20. |
| 55 |
|
| 56 |
- TODO: The C++20 synchronization library will be removed entirely in language modes prior to C++20 in LLVM 20. |
| 57 |
|
| 58 |
- TODO: The relational operators for ``std::chrono::weekday`` will be removed entirely, and the |
| 59 |
``_LIBCPP_ENABLE_REMOVED_WEEKDAY_RELATIONAL_OPERATORS`` macro that was used to re-enable this extension will be |
| 60 |
ignored in LLVM 20. |
| 61 |
|
| 62 |
- TODO: The ``_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST`` macro will no longer have an effect. |
| 63 |
|
| 64 |
Upcoming Deprecations and Removals |
| 65 |
---------------------------------- |
| 66 |
|
| 67 |
LLVM 20 |
| 68 |
~~~~~~~ |
| 69 |
|
| 70 |
- TODO |
| 71 |
|
| 72 |
|
| 73 |
LLVM 21 |
| 74 |
~~~~~~~ |
| 75 |
|
| 76 |
- The status of the C++03 implementation will be frozen after the LLVM 21 release. This means that starting in LLVM 22, non-critical bug fixes may not be back-ported |
| 77 |
to C++03, including LWG issues. C++03 is a legacy platform, where most projects are no longer actively maintained. To |
| 78 |
reduce the amount of fixes required to keep such legacy projects compiling with up-to-date toolchains, libc++ will aim to freeze the status of the headers in C++03 mode to avoid unintended breaking changes. |
| 79 |
See https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc for more details. |
| 80 |
|
| 81 |
If you are using C++03 in your project, you should consider moving to a newer version of the Standard to get the most out of libc++. |
| 82 |
|
| 83 |
|
| 84 |
ABI Affecting Changes |
| 85 |
--------------------- |
| 86 |
|
| 87 |
- TODO |
| 88 |
|
| 89 |
|
| 90 |
Build System Changes |
| 91 |
-------------------- |
| 92 |
|
| 93 |
- TODO |