why are you using end() - 1? end() returns the iterator that is one-past the last item. the only way end() - 1 is correct, is if you do not want to process the last element.
Type: Posts; User: Elkvis
why are you using end() - 1? end() returns the iterator that is one-past the last item. the only way end() - 1 is correct, is if you do not want to process the last element.
j is not an iterator. when you subtract two iterators, it returns an integer result, indicating the difference between the two iterators.
so....
yes it is, at least indirectly. I'm...