STL: for_each
for_each
Applies a specified function object to each element in a forward order within a range and returns the function object.
template<class InputIterator, class Function> Function for_each( InputIterator _First, InputIterator _Last, Function _Func );