[libcxx-commits] [libcxx] [libc++] Take the ABI break for `std::list`'s pointer UB unconditionally (PR #100585)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 15 08:55:36 PDT 2024


================
@@ -24,8 +24,6 @@
 #  define _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT
 // Fix deque iterator type in order to support incomplete types.
 #  define _LIBCPP_ABI_INCOMPLETE_TYPES_IN_DEQUE
-// Fix undefined behavior in how std::list stores its linked nodes.
-#  define _LIBCPP_ABI_LIST_REMOVE_NODE_POINTER_UB
----------------
ldionne wrote:

**If** we make this ABI break unconditionally for `std::list`, I would also do it for the other container types at the same time, since it's basically the same thing.

https://github.com/llvm/llvm-project/pull/100585


More information about the libcxx-commits mailing list