[libcxx-commits] [libcxx] [libc++] Annotate the data member of variant with no_unique_address (PR #137783)
Alex Aktsipetrov via libcxx-commits
libcxx-commits at lists.llvm.org
Mon May 5 06:48:07 PDT 2025
gizmondo wrote:
> Exactly. If this PR does not do that, I think we should, as we are creating a new ABI mode anyway
Makes sense. I'll try to take a stab at this. Converting to draft for now.
@huixie90, I'm curious - does your suggestion mean there is an appetite to make the same layout optimization for std::optional? I'd expect it to be more impactful there.
https://github.com/llvm/llvm-project/pull/137783
More information about the libcxx-commits
mailing list