[libcxx-commits] [libcxx] [libc++] Implement P0843R14: `inplace_vector` (PR #204008)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 18 02:12:15 PDT 2026


philnik777 wrote:

Just for the record, I'd really like us to look into making this type as compact as possible before making the ABI stable. Specifically, I'd like us to explore:
- putting the size into the tail padding of the last object
- using tombstone traits to check whether the last element exist and if not have a size variable there. If it exists we know that we're full.

If people have more ideas how to make this compact I'm happy to talk about that as well of course.

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


More information about the libcxx-commits mailing list