4 ms·
If you realise how it relates to "placement new" then it does kinda make sense. But yeah, not exactly beginner friendly!
by oddeyed 6y ago
If you realise how it relates to "placement new" then it does kinda make sense. But yeah, not exactly beginner friendly!
- xKingfisher 6y agoSomething like construct_back would've maybe been a little clearer. I imagine that would have it's own issues as well though.
- IshKebab 6y agoOr just `place_back`! Why do they have to be so whimsical?
- xKingfisher 6y agoMaybe 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.