Iterator

i am using iterator over a map and i have found something like ""it->second""
what does it mean?

The value_type of a map is a pair, and the elements of a pair are "first" and "second". Iterator resemples pointer in that both have operator '->' to access the members of the object they are pointing to.
Topic archived. No new replies allowed.