When removing an element, I will make sure that its raw pointer is no longer used among the other elements (that is easy to do, because elements have to be linked bidirectionally anyway).
I don't believe you will make sure that will happen