From Jason Turner

[stmt.for]

Diff to HTML by rtfpessoa

tmp/tmp7e7eg5wq/{from.md → to.md} RENAMED
@@ -7,25 +7,25 @@ The `for` statement
7
  ```
8
 
9
  is equivalent to
10
 
11
  except that names declared in the *for-init-statement* are in the same
12
- declarative-region as those declared in the *condition*, and except that
13
  a `continue` in *statement* (not enclosed in another iteration
14
  statement) will execute *expression* before re-evaluating *condition*.
15
  Thus the first statement specifies initialization for the loop; the
16
  condition ([[stmt.select]]) specifies a test, made before each
17
  iteration, such that the loop is exited when the condition becomes
18
  `false`; the expression often specifies incrementing that is done after
19
  each iteration.
20
 
21
  Either or both of the condition and the expression can be omitted. A
22
- missing *condition* makes the implied `while` Clause equivalent to
23
  `while(true)`.
24
 
25
  If the *for-init-statement* is a declaration, the scope of the name(s)
26
- declared extends to the end of the *for-statement*.
27
 
28
  ``` cpp
29
  int i = 42;
30
  int a[10];
31
 
 
7
  ```
8
 
9
  is equivalent to
10
 
11
  except that names declared in the *for-init-statement* are in the same
12
+ declarative region as those declared in the *condition*, and except that
13
  a `continue` in *statement* (not enclosed in another iteration
14
  statement) will execute *expression* before re-evaluating *condition*.
15
  Thus the first statement specifies initialization for the loop; the
16
  condition ([[stmt.select]]) specifies a test, made before each
17
  iteration, such that the loop is exited when the condition becomes
18
  `false`; the expression often specifies incrementing that is done after
19
  each iteration.
20
 
21
  Either or both of the condition and the expression can be omitted. A
22
+ missing *condition* makes the implied `while` clause equivalent to
23
  `while(true)`.
24
 
25
  If the *for-init-statement* is a declaration, the scope of the name(s)
26
+ declared extends to the end of the `for` statement.
27
 
28
  ``` cpp
29
  int i = 42;
30
  int a[10];
31