I am nervousmade by erasing an iterator we're using to iterate; is that safe for this container?