Title
Internal linkage from header units
Status
ready
Section
10.2 [module.interface]
Submitter
US

Created on 2025-10-01.00:00:00 last changed 1 month ago

Messages

Date: 2025-11-06.20:57:44

Proposed resolution (approved by CWG 2025-11-06):

Change in 10.2 [module.interface] paragraph 7 as follows:

[Note 3: Names introduced by exported declarations never have module linkage. They have either external linkage or, no linkage , or (in the case of header units) internal linkage; see 6.7 [basic.link]. Namespace-scope declarations exported by a module can be found by name lookup in any translation unit importing that module (6.5 [basic.lookup]). Class and enumeration member names can be found by name lookup in any context in which a definition of the type is reachable. —end note]
Date: 2025-10-01.00:00:00
N5028 comment US 43-080

The note in 10.2 [module.interface] paragraph 7 incorrectly omits internal linkage names provided by header units; see 10.3 [module.import] paragraph 6.

History
Date User Action Args
2025-11-06 23:04:52adminsetstatus: tentatively ready -> ready
2025-10-24 21:40:40adminsetstatus: open -> tentatively ready
2025-10-11 22:12:54adminsetmessages: + msg8154
2025-10-01 00:00:00admincreate