[all-commits] [llvm/llvm-project] 8a7318: [libc++] Refactor vector::push_back to use vector:...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Thu Oct 24 07:19:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8a7318eb00fcd833aefa8b0028690e9fae221ce6
https://github.com/llvm/llvm-project/commit/8a7318eb00fcd833aefa8b0028690e9fae221ce6
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-10-24 (Thu, 24 Oct 2024)
Changed paths:
M libcxx/include/vector
Log Message:
-----------
[libc++] Refactor vector::push_back to use vector::emplace (#113481)
This removes some duplicate code. I suspect this was originally written
that way because vector::emplace didn't exist in C++03 mode, which
stopped being relevant when Clang implemented rvalue references in
C++03.
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