[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
Wed Jan 17 10:31:33 PST 2024


jiixyj wrote:

> Ok, sounds good. Would it be an ABI break to make this refactoring after landing this patch? We wouldn't be changing the layout so I don't think so, right?

Yes, I think so, too. As long as the [new layout tests](<https://github.com/llvm/llvm-project/pull/69673/files#diff-ab1b8d214f0483d2f854288e260c492f5f9cf52d5366754f429c6e27713ff21dR58-R74>) pass, any implementation strategy should work.

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


More information about the libcxx-commits mailing list