Skip to content

Commit 5a70ebf

Browse files
authored
Merge 2019-11 CWG Motion 9
P1979R0 Resolution to US086
2 parents b713e88 + 0aaac98 commit 5a70ebf

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

source/modules.tex

+6-5
Original file line numberDiff line numberDiff line change
@@ -495,11 +495,12 @@
495495
exported \grammarterm{module-import-declaration}{s}
496496
in $T$; such translation units are
497497
said to be \defnx{exported}{module!exported} by $T$.
498-
When a \grammarterm{module-import-declaration} in a module unit imports
499-
another module unit of the same module, it also imports
500-
all translation units imported by
501-
all \grammarterm{module-import-declaration}{s}
502-
in that module unit.
498+
Additionally, when a \grammarterm{module-import-declaration}
499+
in a module unit of some module $M$ imports another module unit $U$ of $M$,
500+
it also imports all translation units imported by
501+
non-exported \grammarterm{module-import-declaration}{s}
502+
in the module unit purview of $U$.\footnote{This is consistent
503+
with the rules for visibility of imported names\iref{basic.scope.namespace}.}
503504
These rules may in turn lead to the importation of yet more
504505
translation units.
505506

0 commit comments

Comments
 (0)