Compilers and argument order of evaluation in C++

前端 未结 6 625
一整个雨季
一整个雨季 2020-11-22 10:33

Okay, I\'m aware that the standard dictates that a C++ implementation may choose in which order arguments of a function are evaluated, but are there any implementations that

6条回答
  •  生来不讨喜
    2020-11-22 11:06

    Last time I saw differences was between VS2005 and GCC 3.x on an x86 hardware in 2007. So it's (was?) a very likely situation. So I never rely on evaluation order anymore. Maybe it's better now.

提交回复
热议问题