Don’t blindly prefer emplace_back to push_back
Thanks for the article, there should be a huge list of those type of classic C++ misconceptions/FAQ style.One of my favorite is "you don't need a linked list".Although I'm still genuinely interested when a linked list is best suited. I'm also curious why they were invented and why they're taught, maybe just for teaching purposes...