3 ms·
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
by xKingfisher 6y ago
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 https://abseil.io/tips/112
[Googler; unaffiliated with Abseil(sadly)]