[Bug c++/49734] Adding using std::for_each inconsistent with return value

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 13 13:51:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49734

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-07-13 13:51:00 UTC ---
This is conforming behavior, because std::for_each takes its third argument *by
value*.



More information about the Gcc-bugs mailing list