[Bug c++/96227] Comma operation sequencing issue
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jul 17 07:36:45 GMT 2021
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
More information about the Gcc-bugs
mailing list