[libcxx-commits] [libcxx] [libc++] Make std::pair trivially copyable if its members are (PR #89652)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jun 2 15:07:37 PDT 2024


EricWF wrote:

> @EricWF This is a pre-existing problem. `_LIBCPP_ABI_ENABLE_UNIQUE_PTR_TRIVIAL_ABI` and `_LIBCPP_ABI_ENABLE_SHARED_PTR_TRIVIAL_ABI` do the same thing, so I don't think this should be blocking for this PR. We basically don't support the unstable ABI and GCC currently.

One more addition: This isn't like those other breakages @philnik777 .

Those other breakages were only across compiler. With GCC, **_there is a different ABI between C++17 and C++20._**.
 
Please don't be so fast to dismiss concerns. 

This is novel and requires conversation.




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


More information about the libcxx-commits mailing list