https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96227
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think so, the evaluation order when invoking operator, not through the x, y syntax is like for any other function call, the arguments evaluation is indeterminately sequenced. See https://en.cppreference.com/w/cpp/language/eval_order