llvm-project
8a7318eb - [libc++] Refactor vector::push_back to use vector::emplace (#113481)

Commit
1 year ago
[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.
Author
Parents
Loading