llvm-project
b263a71c - [libc++] Refactor vector constructors to eliminate code duplication (#113193)

Commit
343 days ago
[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.
Author
Parents
Loading