I really love the “emplace” idiom for containers - the one that constructs the i...

@sinbad@mastodon.gamedev.place

I really love the “emplace” idiom for containers - the one that constructs the item in place in the container with constructor arguments, rather than constructing an item and then adding it to the array.

Maybe the construct/add can be optimised to the same as emplace in practice most of the time, but I just like the feel of it. Fewer parentheses at least