use of evaluate as a term

Apr 9, 2016 at 9:40pm
I have been reviewing vocabulary lately for c++.I have found most of what I needed but not so much with "evaluate". Is this term reserved for reducing an expression to a value?
Apr 9, 2016 at 10:00pm
Yes.
Apr 10, 2016 at 2:32pm
thx
Apr 10, 2016 at 2:43pm
Evaluation of an expression includes both (optional) value computation and (optional) side effect.

Evaluations

There are two kinds of evaluations performed by the compiler for each expression or subexpression (both of which are optional):

value computation: calculation of the value that is returned by the expression. ...

side effect: access (read or write) to an object designated by a volatile glvalue, modification (writing) to an object, calling a library I/O function, or calling a function that does any of those operations.

http://en.cppreference.com/w/cpp/language/eval_order
Topic archived. No new replies allowed.