Arthur O'Dwyer personal blog

Don’t blindly prefer emplace_back to push_back

In one of my recent training courses, a student informed me that both clang-tidy and PVS-Studio were complaining about some code of the form
Points
178
HN comments
247
Submissions
2
Cited by
0 commenters

Software EngineeringProgramming Languages2021

On Hacker News

SubmittedTitle on HNPointsComments
Mar 4, 2021Don’t blindly prefer emplace_back to push_back by todsacerdoti178140
Jul 28, 2024Don't blindly prefer `emplace_back` to `push_back` (2021) by fanf2150107

More from Arthur O'Dwyer

All 11 posts →

Related posts from the same era