KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm a bit confused regarding the difference between push_back and emplace_back . void emplace_back(Type&& _Val); void push_back(const Type& _Val); void push_back(Type&& _Val); As there is a push_back overload taking an rvalue reference, I don't see what the purpose of emplace_back is.
Tags (comma-separated)
Save Edits
Cancel