It is my understanding that the term j = i
will be executed before ++i
in the statement
j = i, ++i;
.
Does the C++ standard guarantee that j = i
will be executed before ++i
in the loop
for (auto i = std::next(begin), j = begin; i!= end; j= i, ++i)
?