I want to delete all the elements from the std::vector
for (Entity * cb : cbs) { delete cb; }
Is there a better way to do this?
Aucun commentaire:
Enregistrer un commentaire