Lazy HN: Is emplace_back new? I was a C++ dev for over a decade and never came across it. But I got out of serious gamedev in 2014 or so (sadly).
(Is this what it feels like to become a dinosaur?)
There is some confusion on this issue: https://stackoverflow.com/questions/4303513/push-back-vs-emp...
The function void emplace_back(Type&& _Val) provided by MSCV10 is non conforming and redundant, because as you noted it is strictly equivalent to push_back(Type&& _Val).
Looks like (as usual) MSVC's lackluster implementation drives real-world usage. Is there a rule of thumb?
replies(1):