cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Binary operators
Page 2
Binary operators
Pages:
1
2
Jul 6, 2021 at 2:29pm UTC
JLBorges
(13770)
> If calling f() first changes the value of h(), or vice versa, then the behavior is undefined.
No. Function calls are
indeterminately sequenced
; ie. the execution of the function calls are never interleaved. The behaviour is
unspecified
.
Undefined behaviour:
https://eel.is/c++draft/intro.defs#defns.undefined
Unspecified behaviour:
https://eel.is/c++draft/intro.defs#defns.unspecified
Topic archived. No new replies allowed.
Pages:
1
2