C++ : Different Ways to iterate over a List of objects

In this article we will discuss different ways to iterate through std::list of objects.