[llvm-branch-commits] [libcxx] [libc++][doc] Update the release notes for LLVM 19. (PR #100167)
Konstantin Varlamov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jul 23 16:32:52 PDT 2024
================
@@ -151,10 +175,11 @@ Deprecations and Removals
- libc++ no longer supports ``std::allocator<const T>`` and containers of ``const``-qualified element type, such
as ``std::vector<const T>`` and ``std::list<const T>``. This used to be supported as an undocumented extension.
If you were using ``std::vector<const T>``, replace it with ``std::vector<T>`` instead. The
- ``_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST`` macro can be defined to temporarily re-enable this extension as
- folks transition their code. This macro will be honored for one released and ignored starting in LLVM 20.
+ ``_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST`` macro can be defined to temporarily re-enable this extension.
+ to temporarily re-enable this extension to make it easier to update user code
----------------
var-const wrote:
Note: the `temporarily re-enable` part seems to be duplicated.
https://github.com/llvm/llvm-project/pull/100167
More information about the llvm-branch-commits
mailing list