From Jason Turner

[basic.scope.temp]

Diff to HTML by rtfpessoa

tmp/tmpbajgesok/{from.md → to.md} RENAMED
@@ -32,12 +32,12 @@ to belong to this declarative region in spite of its being hidden during
32
  qualified and unqualified name lookup.)
33
 
34
  — *end example*]
35
 
36
  The potential scope of a template parameter name begins at its point of
37
- declaration ([[basic.scope.pdecl]]) and ends at the end of its
38
- declarative region.
39
 
40
  [*Note 1*:
41
 
42
  This implies that a *template-parameter* can be used in the declaration
43
  of subsequent *template-parameter*s and their default arguments but
@@ -67,11 +67,11 @@ The declarative region of the name of a template parameter is nested
67
  within the immediately-enclosing declarative region.
68
 
69
  [*Note 2*:
70
 
71
  As a result, a *template-parameter* hides any entity with the same name
72
- in an enclosing scope ([[basic.scope.hiding]]).
73
 
74
  [*Example 2*:
75
 
76
  ``` cpp
77
  typedef int N;
@@ -85,10 +85,10 @@ parameter of `A`.
85
  — *end example*]
86
 
87
  — *end note*]
88
 
89
  [*Note 3*: Because the name of a template parameter cannot be
90
- redeclared within its potential scope ([[temp.local]]), a template
91
  parameter’s scope is often its potential scope. However, it is still
92
  possible for a template parameter name to be hidden; see 
93
  [[temp.local]]. — *end note*]
94
 
 
32
  qualified and unqualified name lookup.)
33
 
34
  — *end example*]
35
 
36
  The potential scope of a template parameter name begins at its point of
37
+ declaration [[basic.scope.pdecl]] and ends at the end of its declarative
38
+ region.
39
 
40
  [*Note 1*:
41
 
42
  This implies that a *template-parameter* can be used in the declaration
43
  of subsequent *template-parameter*s and their default arguments but
 
67
  within the immediately-enclosing declarative region.
68
 
69
  [*Note 2*:
70
 
71
  As a result, a *template-parameter* hides any entity with the same name
72
+ in an enclosing scope [[basic.scope.hiding]].
73
 
74
  [*Example 2*:
75
 
76
  ``` cpp
77
  typedef int N;
 
85
  — *end example*]
86
 
87
  — *end note*]
88
 
89
  [*Note 3*: Because the name of a template parameter cannot be
90
+ redeclared within its potential scope [[temp.local]], a template
91
  parameter’s scope is often its potential scope. However, it is still
92
  possible for a template parameter name to be hidden; see 
93
  [[temp.local]]. — *end note*]
94