News for hackers. Stuff that matters.
Re:A glimpse of undefined behavior in C by nly on Saturday November 30, 2013 @07:20PM (#6825386)
The compiler can't necessarily optimise i++ away in C++, because the ++operator or the destructor of the temporary iterator object returned may have side effects. It's still not quite equivalent to ballards postincrement() though, because the C++ standard allows for that temporary copy operation to be optimised away

There are no comments on this comment yet.