ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
28 ноября
322599 Топик полностью
SciFi (12.04.2012 17:41, просмотров: 67) ответил Vladimir Ljaschko на Лучше не домысливать, ниженаписанное предупреждает о побочных эффектах. Если компиляторописатели трактуют это как право нарушить последовательность, они неправы.
Да, фигню говорю. 
1 The semantic descriptions in this International Standard describe the behavior of an abstract machine in which issues of optimization are irrelevant. 2 Accessing a volatile object, modifying an object, modifying a file, or calling a function that does anyofthose operations are allside effects, which are changes in the state of the execution environment. Evaluation of an expression may produce side effects. At certain specified points in the execution sequence calledsequence points, all side effects of previous evaluations shall be complete and no side effects of subsequent evaluations shall have taken place. (A summary of the sequence points is given inannex C.) 3 In the abstract machine, all expressions are evaluated as specified by the semantics. An actual implementation need not evaluate part of an expression if it can deduce that its value is not used and that no needed side effects are produced (including anycaused by calling a function or accessing a volatile object).
Semantics 1 An assignment operator stores a value in the object designated by the left operand. An assignment expression has the value of the left operand after the assignment, but is not an lvalue.
Всё довольно однозначно.
ส็็็็็็็็็็็็็็็็็็็็็็็็็༼ ຈل͜ຈ༽ส้้้้้้้้้้้้้้้้้้้้้้้