[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:15:19 PDT 2024


https://github.com/EricWF requested changes to this pull request.

I would like to see some discussion about how the ABI of pair isn't controlled by the ABI macro, but rather the ABI macro, and the dialect, and the compiler. Meaning you can set the macro and get the old ABI.

If we contain `std::pair` of a trivial type anywhere inside the dylib, the dylib may only be compatible with the compiler it was built with (since GCC doesn't provide the enable if  macro).


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


More information about the libcxx-commits mailing list