I have a vector of class objects. The class has some private data and public function. Can I access the class members with the help of the iterators. I have been trying to do this and been able to access the member function with itr->functionname but have not found anything on accessing the data.