And does the right to left precedence holds true even for function call?fun(x++, ++x);Or is it still UB in C++17?
— Left and right does apply in regards to the assignment operator [expr.ass].For function calls in c++ C++17 it's no longer undefined behavior but it's unspecified instead.From [expr.call] "The initialization of a parameter, including every associated value computation and side effect, is indeterminately sequenced with respect to that of any other parameter."
Message permanent page
— Explanation pls
— Hello house, please I need a strong and comprehensive ebook on c++
— Undefined or unspecific behavior
— English only
— Just observe the output man
— All right
— I’m don’t think it’s have any wrong
— I++just plus after print