C
cornelis van der bent
Is there a way to ask a vector<Class*>::iterator if it's at the end of
its vector?
(Background: I know I could compare with myVector.end(), but don't
want to do this. I want to pass two iterators to a method and do some
side by side comparison until one of the iterators is at the end. I
don't want to pass the vectors as well.)
Thanks for listening,
Kees
its vector?
(Background: I know I could compare with myVector.end(), but don't
want to do this. I want to pass two iterators to a method and do some
side by side comparison until one of the iterators is at the end. I
don't want to pass the vectors as well.)
Thanks for listening,
Kees