[libcxx-commits] [libcxx] [libc++] Replace `__compressed_pair` with `[[no_unique_address]]` (PR #76756)
Lénárd Szolnoki via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Aug 28 16:21:46 PDT 2024
leni536 wrote:
Some contrived example where this potentially breaks ABI: https://godbolt.org/z/K7ecfd8MG
I don't think this is a huge concern, I just had some fun. Can actually happen where there are elements after a compressed pair, which happens at some places, but I don't think that overly aligned empty deleter/allocator/whatever types are common.
https://github.com/llvm/llvm-project/pull/76756
More information about the libcxx-commits
mailing list