You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few lines in the release notes which are much wider than the
120 columns we usually use. This reflows the text to keep it below the
threshold.
Copy file name to clipboardExpand all lines: libcxx/docs/ReleaseNotes/20.rst
+14-9Lines changed: 14 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -50,14 +50,15 @@ Improvements and New Features
50
50
- The ``lexicographical_compare`` and ``ranges::lexicographical_compare`` algorithms have been optimized for trivially
51
51
equality comparable types, resulting in a performance improvement of up to 40x.
52
52
53
-
- The ``_LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION`` macro has been added to make ``std::uncaught_exception`` available in C++20 and later modes.
53
+
- The ``_LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION`` macro has been added to make ``std::uncaught_exception``
54
+
available in C++20 and later modes.
54
55
55
56
56
57
Deprecations and Removals
57
58
-------------------------
58
59
59
-
- TODO: The ``LIBCXX_ENABLE_ASSERTIONS`` CMake variable and the ``_LIBCPP_ENABLE_ASSERTIONS`` macro that were used to enable
60
-
the safe mode will be removed in LLVM 20.
60
+
- TODO: The ``LIBCXX_ENABLE_ASSERTIONS`` CMake variable and the ``_LIBCPP_ENABLE_ASSERTIONS`` macro that were used to
61
+
enable the safe mode will be removed in LLVM 20.
61
62
62
63
- Support for the C++20 synchronization library (``<barrier>``, ``<latch>``, ``atomic::wait``, etc.) has been
63
64
removed in language modes prior to C++20. If you are using these features prior to C++20, you will need to
@@ -67,7 +68,9 @@ Deprecations and Removals
67
68
``_LIBCPP_ENABLE_REMOVED_WEEKDAY_RELATIONAL_OPERATORS`` macro that was used to re-enable this extension will be
68
69
ignored in LLVM 20.
69
70
70
-
- The ``_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST`` macro no longer has any effect. ``std::allocator<const T>`` is not supported as an extension anymore, please migrate any code that uses e.g. ``std::vector<const T>`` to be standards conforming.
71
+
- The ``_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST`` macro no longer has any effect. ``std::allocator<const T>`` is not
72
+
supported as an extension anymore, please migrate any code that uses e.g. ``std::vector<const T>`` to be
73
+
standards conforming.
71
74
72
75
Upcoming Deprecations and Removals
73
76
----------------------------------
@@ -81,12 +84,14 @@ LLVM 20
81
84
LLVM 21
82
85
~~~~~~~
83
86
84
-
- 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
85
-
to C++03, including LWG issues. C++03 is a legacy platform, where most projects are no longer actively maintained. To
86
-
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.
87
-
See https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc for more details.
87
+
- The status of the C++03 implementation will be frozen after the LLVM 21 release. This means that starting in LLVM 22,
88
+
non-critical bug fixes may not be back-ported to C++03, including LWG issues. C++03 is a legacy platform, where most
89
+
projects are no longer actively maintained. To reduce the amount of fixes required to keep such legacy projects
90
+
compiling with up-to-date toolchains, libc++ will aim to freeze the status of the headers in C++03 mode to avoid
91
+
unintended breaking changes. See https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc for more details.
88
92
89
-
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++.
93
+
If you are using C++03 in your project, you should consider moving to a newer version of the Standard to get the most
0 commit comments