why emplace_back is an inplace construnction but push_back is not?

前端 未结 0 1181
孤城傲影
孤城傲影 2021-01-21 15:28

I have learned that emplace_back will be faster than push_back in the most cases, like emplace_back("aa") vs push_back("aa"). People said this because emplac

相关标签:
回答
  • 消灭零回复
提交回复
热议问题