Hi just a simple question, when I am clearing a vector of pointers, do I absolutely have to reaffect the deleted pointers to nullptr? If not what would ne the difference between doing so or just deleting them?
std::vector<object*> objects;
for(auto&& object : objects) {delete object; object = nullptr; } objects.clear()