[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 14:55:00 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.
@ldionne Were you aware of that?
Then we should make it an explicit error, rather than silently giving the users ABI breaks. The ABI of a type should include _no logic_.
https://github.com/llvm/llvm-project/pull/89652
More information about the libcxx-commits
mailing list