📅  最后修改于: 2022-03-11 14:44:47.086000             🧑  作者: Mango
// Declare vector of shared_ptr objects
std::vector> Entities;
// Instantiate object as a shared_ptr and immediately push to vector
Entities.push_back(std::make_shared());