Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Koshkin
on March 4, 2021
|
parent
|
context
|
favorite
| on:
Don’t blindly prefer emplace_back to push_back
You are correct, the problem is exclusively with emplace_back; incidentally, there is an "official" discussion of this at
https://cplusplus.github.io/LWG/issue2089
.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: