[libcxx-commits] [libcxx] [libc++] Removes codecvt. (PR #72496)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 16 23:08:27 PST 2023
================
@@ -68,6 +69,13 @@ Improvements and New Features
on a per translation unit basis using the ``_LIBCPP_HARDENING_MODE`` macro. See :ref:`the hardening documentation
<using-hardening-modes>` for more details.
+- The ``_LIBCPP_ENABLE_CXX26_REMOVED_FEATURES`` macro has been added to allow
----------------
mordante wrote:
In general I think that would be a nice new policy. For example, `std::string::reserve()` has a better alternative for a long time. I will adapt my patch for that paper to not add an `ENABLE` macro
For this feature there is no standard alternative. Zach Laine has written a paper with a replacement feature. AFAIK that paper is still on-track for C++26. Hard removing this feature would break users and make it harder to transition from C++23 to C++26. So I rather remove backwards compatibility for this case in C++29; assuming Zach's paper will be in C++26 and we've implemented that paper.
https://github.com/llvm/llvm-project/pull/72496
More information about the libcxx-commits
mailing list