[libcxx-commits] [libcxx] [libc++] Remove UB from std::map __tree_node construction (PR #153908)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 18 02:02:32 PDT 2025


================
@@ -572,7 +574,8 @@ public:
 
   _LIBCPP_HIDE_FROM_ABI void __set_parent(pointer __p) { __parent_ = static_cast<__end_node_pointer>(__p); }
----------------
philnik777 wrote:

This change should remove the need for `_LIBCPP_STANDALONE_DEBUG` above. Please remove it (and the definition of the macro from `<__config>`, since it's the last use).

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


More information about the libcxx-commits mailing list