From Jason Turner

[expr.pre]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp35rpnp5g/{from.md → to.md} +14 -6
tmp/tmp35rpnp5g/{from.md → to.md} RENAMED
@@ -1,11 +1,17 @@
1
  ## Preamble <a id="expr.pre">[[expr.pre]]</a>
2
 
3
- [*Note 1*: [[expr]] defines the syntax, order of evaluation, and
4
- meaning of expressions.[^1] An expression is a sequence of operators and
5
- operands that specifies a computation. An expression can result in a
6
- value and can cause side effects. — *end note*]
 
 
 
 
 
 
7
 
8
  [*Note 2*: Operators can be overloaded, that is, given meaning when
9
  applied to expressions of class type [[class]] or enumeration type
10
  [[dcl.enum]]. Uses of overloaded operators are transformed into function
11
  calls as described in  [[over.oper]]. Overloaded operators obey the
@@ -35,13 +41,15 @@ its type, the behavior is undefined.
35
  zero divisor, and all floating-point exceptions varies among machines,
36
  and is sometimes adjustable by a library function. — *end note*]
37
 
38
  [*Note 4*:
39
 
40
- The implementation may regroup operators according to the usual
41
  mathematical rules only where the operators really are associative or
42
- commutative.[^2] For example, in the following fragment
 
 
43
 
44
  ``` cpp
45
  int a, b;
46
  ...
47
  a = a + 32760 + b + 5;
 
1
  ## Preamble <a id="expr.pre">[[expr.pre]]</a>
2
 
3
+ [*Note 1*:
4
+
5
+ [[expr]] defines the syntax, order of evaluation, and meaning of
6
+ expressions.[^1]
7
+
8
+ An expression is a sequence of operators and operands that specifies a
9
+ computation. An expression can result in a value and can cause side
10
+ effects.
11
+
12
+ — *end note*]
13
 
14
  [*Note 2*: Operators can be overloaded, that is, given meaning when
15
  applied to expressions of class type [[class]] or enumeration type
16
  [[dcl.enum]]. Uses of overloaded operators are transformed into function
17
  calls as described in  [[over.oper]]. Overloaded operators obey the
 
41
  zero divisor, and all floating-point exceptions varies among machines,
42
  and is sometimes adjustable by a library function. — *end note*]
43
 
44
  [*Note 4*:
45
 
46
+ The implementation can regroup operators according to the usual
47
  mathematical rules only where the operators really are associative or
48
+ commutative.[^2]
49
+
50
+ For example, in the following fragment
51
 
52
  ``` cpp
53
  int a, b;
54
  ...
55
  a = a + 32760 + b + 5;