iterate through vector pointer c++ for rang based code example
Example: c++ iterate over vector of pointers
for (vector<int Type>:: iter = myVector.begin(); iter != myVector.end(); iter++)
(*iter)->display();
for (vector<int Type>:: iter = myVector.begin(); iter != myVector.end(); iter++)
(*iter)->display();