Basically, I have a situation where I have 2 containers of the same type, and I want to iterate through them and know when I've reached an element that was previously selected by being pointed at by an iterator.
I tried simply using == but that caused a crash. It's also possible of course that I did it wrong.
How is this meant to be done? Or should it be avoided if possible?