[libcxx-commits] [libcxx] [libc++] Remove UB from std::map __tree_node construction (PR #153908)
Vinay Deshmukh via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Aug 16 06:31:12 PDT 2025
================
@@ -1276,7 +1310,7 @@ private:
return nullptr;
}
- __assign_value(__dest->__value_, __src->__value_);
----------------
vinay-deshmukh wrote:
As we no longer expose the member directly, all accesses need to go through the member function so the right type is used.
otherwise, every access needs to be updated to use ifndef CXX03
https://github.com/llvm/llvm-project/pull/153908
More information about the libcxx-commits
mailing list