Originally Posted by mixalissen
Actually the above code is REALLY wrong...with *iter + 1 or *iter++ you dont move the iterator, you just increment the value of the element by 1. SO WRONG...
No. *iter++ dereferences the iterator and post-increments it. It does move the iterator.