News for hackers. Stuff that matters.
Re:Don’t blindly prefer emplace_back to push_back by xKingfisher on Thursday March 04, 2021 @04:34AM (#26340422)
It's not bad advice. I see many code reviews that use emplace_back because it's 'faster'.

Though I think the abseil article does a better job of explaining why: https://abseil.io/tips/112

[Googler; unaffiliated with Abseil(sadly)]

There are no comments on this comment yet.