#include
class Object {
public:
// Object implementation
};
int main() {
std::vector objects;
// Add objects to the vector
objects.push_back(Object());
objects.push_back(Object());
objects.push_back(Object());
// Remove the second object from the vector
objects.erase(objects.begin() + 1);
return 0;
}