template<class InIter, class Func> Func for_each(InIter start, InIter end, Func fn);
The for_each( ) algorithm applies the function fn to the range of elements specified by start and end. It returns fn.