[libcxx-commits] [libcxx] [libc++] Replace `__compressed_pair` with `[[no_unique_address]]` (PR #76756)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 3 05:51:23 PST 2024
philnik777 wrote:
@huixie90 I don't think explicitly adding padding bytes is a problem here. The affected classes are in just about no way trivial, so I don't think it matters how the padding bytes are generated. @cjdb it would be great to get some data whether we could drop the padding bytes, but my suspicion is that we can't, since `[[no_unique_address]]` is way more powerful than EBO.
https://github.com/llvm/llvm-project/pull/76756
More information about the libcxx-commits
mailing list