Expressions
Expressions
An expression is a sequence of operators and their operands, that specifies a computation.
Expression evaluation may produce a result (e.g., evaluation of 2+2
produces the result 4
) and may generate side-effects (e.g. evaluation of std::printf("%d",4)
prints the character '4'
on the standard output).
General
- value categories (lvalue, rvalue, glvalue, prvalue, xvalue) classify expressions by their values
- order of evaluation of arg