The for_each() algorithm is very flexible because it allows you to access, process, and modify
each element in many different ways. Note, however, that since C++11, the range-based for loop
provides this behavior more conveniently and more naturally (see Section 3.1.4, page 17, and Section
6.2.1, page 174). Thus, for_each() might lose its importance over time