I\'m learning how to use C++ STL and algorithms. Currently, I want to iterate a list of the pointer of objects. This is my approach so far:
for (list