[LLVM 17][libc++] Cherry-pick the fix for std::expected UB related to the has-value flag #70708
Labels
libc++
libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
release:backport
release:merged
Milestone
We should cherry-pick this PR (#68733) which fixed this issue (#68552). Doing this is not an ABI break (unlike the follow-up #69673 which is an ABI break, and we're still undecided about this one).
I think it makes sense to make the present fix regardless of what we end up doing for the tail-padding issue (the ABI breaking one).
The text was updated successfully, but these errors were encountered: