[libcxx-commits] [libcxx] [libc++] Optimize vector::__move_range for trivially copyable types (PR #207384)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jul 3 08:23:21 PDT 2026
https://github.com/ldionne commented:
All in all, I'd much rather implement this using relocation semantics, which are easier to understand and should generate equivalent if not better code: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3516r2.html#vectoremplace-vectorinsert
However, I think it's reasonable to land this and then improve upon it.
https://github.com/llvm/llvm-project/pull/207384
More information about the libcxx-commits
mailing list