[all-commits] [llvm/llvm-project] b263a7: [libc++] Refactor vector constructors to eliminate...
Peng Liu via All-commits
all-commits at lists.llvm.org
Tue Oct 22 09:21:54 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b263a71c2b1b14be53102f0a2ce4df131937f478
https://github.com/llvm/llvm-project/commit/b263a71c2b1b14be53102f0a2ce4df131937f478
Author: Peng Liu <winner245 at hotmail.com>
Date: 2024-10-22 (Tue, 22 Oct 2024)
Changed paths:
M libcxx/include/vector
Log Message:
-----------
[libc++] Refactor vector constructors to eliminate code duplication (#113193)
This PR refactors the std::vector's initializer_list constructors to
reduce code duplication. The constructors now call `__init_with_size`
directly, reducing code duplication and improving readability and
maintainability.
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