From Jason Turner

[class.friend]

Diff to HTML by rtfpessoa

tmp/tmp6eum9w55/{from.md → to.md} RENAMED
@@ -178,11 +178,11 @@ up without considering scopes that are outside the innermost enclosing
178
  non-class scope. For a friend function declaration, if there is no prior
179
  declaration, the program is ill-formed. For a friend class declaration,
180
  if there is no prior declaration, the class that is specified belongs to
181
  the innermost enclosing non-class scope, but if it is subsequently
182
  referenced, its name is not found by name lookup until a matching
183
- declaration is provided in the innermost enclosing nonclass scope.
184
 
185
  ``` cpp
186
  class X;
187
  void a();
188
  void f() {
 
178
  non-class scope. For a friend function declaration, if there is no prior
179
  declaration, the program is ill-formed. For a friend class declaration,
180
  if there is no prior declaration, the class that is specified belongs to
181
  the innermost enclosing non-class scope, but if it is subsequently
182
  referenced, its name is not found by name lookup until a matching
183
+ declaration is provided in the innermost enclosing non-class scope.
184
 
185
  ``` cpp
186
  class X;
187
  void a();
188
  void f() {