If "x" is an iterator then "*x" returns a reference on the object pointed by the iterator and "x->" is a shortcut for "(*x).". This all has nothing to do with pointers. "*" is the dereference operator.
I was going to say that it has nothing to do with iterators, but only with pointers because dereferencing is strictly related to pointers.
Bookmarks