[libcxx-commits] [libcxx] [libc++] Ensure that `std::expected` has no tail padding (PR #69673)
Jan Kokemüller via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 27 11:33:00 PDT 2023
================
@@ -46,6 +46,7 @@
----------------
jiixyj wrote:
Yes, it's difficult to see in the diff, but I added some data layout tests in `libcxx/test/libcxx/utilities/expected/expected.{expected,void}/no_unique_address.compile.pass.cpp`.
Besides the data layout, this patch shouldn't really change anything else about the behavior. Maybe I should add some tests where the previous layout actually resulted in catastrophic failure, though?
https://github.com/llvm/llvm-project/pull/69673
More information about the libcxx-commits
mailing list