Skip to content

Commit 2c581e9

Browse files
eisenwavetkoeppe
authored andcommitted
CWG3090 Internal linkage from header units
Fixes NB US 43-080 (C++26 CD).
1 parent 5850cd5 commit 2c581e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/modules.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,9 @@
334334

335335
\pnum
336336
\begin{note}
337-
Names introduced by exported declarations
338-
have either external linkage or no linkage; see \ref{basic.link}.
337+
Names introduced by exported declarations never have module linkage.
338+
They have external linkage, no linkage, or
339+
(in the case of header units) internal linkage; see \ref{basic.link}.
339340
Namespace-scope declarations exported by a module can be found by name lookup
340341
in any translation unit importing that module\iref{basic.lookup}.
341342
Class and enumeration member names can be found by name lookup in any

0 commit comments

Comments
 (0)