News for hackers. Stuff that matters.
Re:Don’t blindly prefer emplace_back to push_back by xKingfisher on Thursday March 04, 2021 @04:29AM (#26340397)
Something like construct_back would've maybe been a little clearer. I imagine that would have it's own issues as well though.
Re:Don’t blindly prefer emplace_back to push_back by IshKebab on Thursday March 04, 2021 @05:02AM (#26340627)
Or just `place_back`! Why do they have to be so whimsical?
Re:Don’t blindly prefer emplace_back to push_back by xKingfisher on Thursday March 04, 2021 @05:16AM (#26340702)
Maybe they're fans of why's guide to Ruby :)

Though place_back still has the connotation of 'take this thing and put it over there' that emplace_back is actually the opposite of.

Naming things really is hard.