¡@

Home 

c++ Programming Glossary: expr.ass

In which versions of the C++ standard does “(i+=10)+=10” have undefined behaviour?

http://stackoverflow.com/questions/10655290/in-which-versions-of-the-c-standard-does-i-10-10-have-undefined-behaviou

which side effects take place is unspecified. C 98 clause expr.ass 5.17 p1 The result of the assignment operation is the value.. of the same scalar object the behavior is undefined. C 11 expr.ass 5.17 p1 In all cases the assignment is sequenced after the value..

Where can we use list initialization?

http://stackoverflow.com/questions/13267277/where-can-we-use-list-initialization

use list assignment anywhere in C 03. The grammar shown in expr.ass 1 does not allow a braced list on the right of an assignment... convertible without narrowing to the variable's type see expr.ass 9 when the left operand of the assignment is a class type with.. is used to initialize the argument of the operator see expr.ass 9 . This includes both cases like operator std initializer_list..

C++: is return value a L-value?

http://stackoverflow.com/questions/6111905/c-is-return-value-a-l-value

were a basic type then this would be a compile error. 5.17 expr.ass 1 The reason that this works is that you are allowed to call..

What standard clause mandates this lvalue-to-rvalue conversion?

http://stackoverflow.com/questions/6376580/what-standard-clause-mandates-this-lvalue-to-rvalue-conversion

is an rvalue is either implicit or missing from 5.17 expr.ass but that is the case or else the following expression would..

Return type of '?:' (ternary conditional operator)

http://stackoverflow.com/questions/8535226/return-type-of-ternary-conditional-operator

type and value category a conditional expression has 5.17 expr.ass Assignment and compound assignment operators requirement that..