[libcxx-commits] [libcxx] Reapply "[libc++] Optimize vector growing of trivially relocatable types" (PR #80558)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 5 03:15:07 PST 2024


philnik777 wrote:

@nico @gribozavr is correct that this is because of `vector<const T>`. I think I'd consider this a bug for now, but IMO we should just remove the `allocator<const T>` extension that allows this. It has bitten at least me way too often when working on `vector`, and isn't supported by any other major vendor: https://godbolt.org/z/8MPaP94cz. @ldionne Any thoughts on this?

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


More information about the libcxx-commits mailing list