================ @@ -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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits