From Jason Turner

[defns.expression-equivalent]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpf6m4kdgv/{from.md → to.md} +11 -0
tmp/tmpf6m4kdgv/{from.md → to.md} RENAMED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### 11 expression-equivalent <a id="defns.expression-equivalent">[[defns.expression-equivalent]]</a>
2
+
3
+ expressions that all have the same effects, either are all
4
+ potentially-throwing [[except.spec]] or are all not
5
+ potentially-throwing, and either are all constant subexpressions or are
6
+ all not constant subexpressions
7
+
8
+ [*Example 1*: For a value `x` of type `int` and a function `f` that
9
+ accepts integer arguments, the expressions `f(x + 2)`, `f(2 + x)`, and
10
+ `f(1 + x + 1)` are expression-equivalent. — *end example*]
11
+