[libcxx-commits] [libcxx] [libc++] Fix UB in <expected> related to "has value" flag (#68552) (PR #68733)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Oct 14 15:16:21 PDT 2023


huixie90 wrote:

This is a simplified example.
https://godbolt.org/z/YGbG3PeYY

I don't think we can fix it. It is a mistake to use `[[no_unique_address]]` I think. I think there is no way to fix without breaking ABI now.

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


More information about the libcxx-commits mailing list