tmp/tmpzpdtnp7t/{from.md → to.md}
RENAMED
|
@@ -120,11 +120,13 @@ is *attached* to a module as follows:
|
|
| 120 |
or *template-id* or that nominates a class other than with an
|
| 121 |
*elaborated-type-specifier* with neither a *nested-name-specifier* nor
|
| 122 |
a *simple-template-id*, it is attached to the module to which the
|
| 123 |
friend is attached [[basic.link]].
|
| 124 |
- Otherwise, if the declaration
|
| 125 |
-
-
|
|
|
|
|
|
|
| 126 |
- appears within a *linkage-specification* [[dcl.link]]
|
| 127 |
|
| 128 |
it is attached to the global module.
|
| 129 |
- Otherwise, the declaration is attached to the module in whose purview
|
| 130 |
it appears.
|
|
|
|
| 120 |
or *template-id* or that nominates a class other than with an
|
| 121 |
*elaborated-type-specifier* with neither a *nested-name-specifier* nor
|
| 122 |
a *simple-template-id*, it is attached to the module to which the
|
| 123 |
friend is attached [[basic.link]].
|
| 124 |
- Otherwise, if the declaration
|
| 125 |
+
- declares a namespace whose name has external linkage,
|
| 126 |
+
- declares a type alias,
|
| 127 |
+
- declares a namespace alias, or
|
| 128 |
- appears within a *linkage-specification* [[dcl.link]]
|
| 129 |
|
| 130 |
it is attached to the global module.
|
| 131 |
- Otherwise, the declaration is attached to the module in whose purview
|
| 132 |
it appears.
|