c++ - Advantages of std::for_each over for loop - Stack Overflow
Are there any advantages of std::for_each over for loop? To me, std::for_each only seems to hinder the readability of code. Why do then some coding standards recommend its ... The nice thing with C++11 (previously called C++0x), is that this tiresome deba...