Original Post
hello, i'm using the observer pattern and i'm wondering why this code fails to remove NULL pointers from a list. m_pObjects.remove(NULL); this is called for each class that may have objects that another class has references to, so if i delete an object before one of these validation functions is called (which happens) the object should be removed from each class that has references to this object and it's functions should not be called ... but this is not the case. why doesnt remove(NULL) remove objects that point to NULL?