C++26: std::hive 0 ▲ Sandor Dargo's Blog 1 hour ago · Tech · hide · 0 comments In a recent article on std::inplace_vector, I mentioned that C++26 is generous with new containers. Here’s the other one: std::hive. Consider a game engine managing thousands of entities. Each entity is stored in a container, and other subsystems hold pointers to those entities. When an entity is destroyed, you erase it from the container. With std::vector, every element after the erased one s... No comments yet. Log in to reply on the Fediverse. Comments will appear here.