Just subtract the .begin() iterator from the iterator you are interested in. This will give you the size_type distance between the two iterator positions.