[edit] for_each
Why did you list 'for_each' under "Non-modifying sequence operations"? That function can be modifying or non-modifying similar to 'transform'. --Bear (talk) 04:36, 7 August 2014 (PDT)
- It was listed in the STL together with "non-mutating algorithms", and is listed in the C++ standard under $25.2[[alg.nonmodifying] "Non-modifying sequence operations". I hear Josuttis groups it with the other modifying algorithms in his book, though. --Cubbi (talk) 05:59, 7 August 2014 (PDT)