tmp/tmpd8d0bfpi/{from.md → to.md}
RENAMED
|
@@ -508,11 +508,11 @@ up without considering scopes that are outside the innermost enclosing
|
|
| 508 |
non-class scope. For a friend function declaration, if there is no prior
|
| 509 |
declaration, the program is ill-formed. For a friend class declaration,
|
| 510 |
if there is no prior declaration, the class that is specified belongs to
|
| 511 |
the innermost enclosing non-class scope, but if it is subsequently
|
| 512 |
referenced, its name is not found by name lookup until a matching
|
| 513 |
-
declaration is provided in the innermost enclosing
|
| 514 |
|
| 515 |
``` cpp
|
| 516 |
class X;
|
| 517 |
void a();
|
| 518 |
void f() {
|
|
@@ -695,10 +695,11 @@ class E {
|
|
| 695 |
[class.ctor]: special.md#class.ctor
|
| 696 |
[class.derived]: #class.derived
|
| 697 |
[class.dtor]: special.md#class.dtor
|
| 698 |
[class.free]: special.md#class.free
|
| 699 |
[class.friend]: #class.friend
|
|
|
|
| 700 |
[class.local]: #class.local
|
| 701 |
[class.mem]: #class.mem
|
| 702 |
[class.member.lookup]: #class.member.lookup
|
| 703 |
[class.mfct]: #class.mfct
|
| 704 |
[class.mfct.non-static]: #class.mfct.non-static
|
|
@@ -744,11 +745,10 @@ class E {
|
|
| 744 |
[over.load]: over.md#over.load
|
| 745 |
[over.match]: over.md#over.match
|
| 746 |
[over.match.call]: over.md#over.match.call
|
| 747 |
[over.match.funcs]: over.md#over.match.funcs
|
| 748 |
[over.oper]: over.md#over.oper
|
| 749 |
-
[special]: special.md#special
|
| 750 |
[string.classes]: strings.md#string.classes
|
| 751 |
[temp]: temp.md#temp
|
| 752 |
[temp.arg]: temp.md#temp.arg
|
| 753 |
[temp.friend]: temp.md#temp.friend
|
| 754 |
[temp.inst]: temp.md#temp.inst
|
|
|
|
| 508 |
non-class scope. For a friend function declaration, if there is no prior
|
| 509 |
declaration, the program is ill-formed. For a friend class declaration,
|
| 510 |
if there is no prior declaration, the class that is specified belongs to
|
| 511 |
the innermost enclosing non-class scope, but if it is subsequently
|
| 512 |
referenced, its name is not found by name lookup until a matching
|
| 513 |
+
declaration is provided in the innermost enclosing non-class scope.
|
| 514 |
|
| 515 |
``` cpp
|
| 516 |
class X;
|
| 517 |
void a();
|
| 518 |
void f() {
|
|
|
|
| 695 |
[class.ctor]: special.md#class.ctor
|
| 696 |
[class.derived]: #class.derived
|
| 697 |
[class.dtor]: special.md#class.dtor
|
| 698 |
[class.free]: special.md#class.free
|
| 699 |
[class.friend]: #class.friend
|
| 700 |
+
[class.inhctor]: special.md#class.inhctor
|
| 701 |
[class.local]: #class.local
|
| 702 |
[class.mem]: #class.mem
|
| 703 |
[class.member.lookup]: #class.member.lookup
|
| 704 |
[class.mfct]: #class.mfct
|
| 705 |
[class.mfct.non-static]: #class.mfct.non-static
|
|
|
|
| 745 |
[over.load]: over.md#over.load
|
| 746 |
[over.match]: over.md#over.match
|
| 747 |
[over.match.call]: over.md#over.match.call
|
| 748 |
[over.match.funcs]: over.md#over.match.funcs
|
| 749 |
[over.oper]: over.md#over.oper
|
|
|
|
| 750 |
[string.classes]: strings.md#string.classes
|
| 751 |
[temp]: temp.md#temp
|
| 752 |
[temp.arg]: temp.md#temp.arg
|
| 753 |
[temp.friend]: temp.md#temp.friend
|
| 754 |
[temp.inst]: temp.md#temp.inst
|