How is iterator implemented in vector class? vector<int> v; vector<int>::iterator i = v.begin(); I know vector is a template class. And iterator is an object. And also iterator is not a static object. Then why we are not accessing it through dot operator? And what does vector class looks like. Is iterator a member of vector class?