Sets the iterator object to the next element of the container.
Returns true if and only if not at the end of the list.