Hacker News new | past | comments | ask | show | jobs | submit login

The author explains that people he's worked with when seeing a message from the compiler telling them to use emplace_back() instead of push_back() just replace "push_back" by "emplace_back" without changing the function arguments. And since the result makes the compiler happy they don't realize that this is not what the message told them to do.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: