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

That's quite correct. All of the functions in the standard library that have "emplace" in the name would be better off by accepting a lambda. Now they are stuck in having a "perfect forwarding" interface that is not perfect at all.



Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: