I know this post can be a duplicate but the answers I could find aren't clear.
std::vector<EWindow> windows;
void closeWindow(EWindow* window);
These are my functions, I would like to erase the pointer EWindow*
from the vector windows
.
C++ Remove object from vector explain how to remove object but not a pointer.