[libcxx-commits] [libcxx] [libc++][string] Fix unnecessary padding for basic_string's __short (PR #135973)
Gábor Spaits via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 16 09:54:41 PDT 2025
spaits wrote:
Also, when I put an empty struct into another struct, it still increment the size and has it's own address: https://godbolt.org/z/dYovsM71b . (Or I don't really get what you mean by datasize there. I assumed "as a member of other struct". I would be grateful if you could point me to an explanation if I am wrong.)
https://github.com/llvm/llvm-project/pull/135973
More information about the libcxx-commits
mailing list