[all-commits] [llvm/llvm-project] 5bf1f0: [libc++] Fix assignment in insertion into `vector`...
A. Jiang via All-commits
all-commits at lists.llvm.org
Mon Mar 3 17:07:10 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5bf1f03d1fb4fd4c16029355d5814ebce61ed939
https://github.com/llvm/llvm-project/commit/5bf1f03d1fb4fd4c16029355d5814ebce61ed939
Author: A. Jiang <de34 at live.cn>
Date: 2025-03-04 (Tue, 04 Mar 2025)
Changed paths:
M libcxx/include/__vector/vector.h
M libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_iter_iter_iter.pass.cpp
M libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_range.pass.cpp
Log Message:
-----------
[libc++] Fix assignment in insertion into `vector` (#116001)
Changes:
- Avoid direct assignment in iterator-pair `insert` overload and
`insert_range`, except when the assignment is move assignment.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list