Title
Consolidate specification of linkage
Status
nad
Section
9.2.2 [dcl.stc]
Submitter
Alisdair Meredith

Created on 2014-11-26.00:00:00 last changed 115 months ago

Messages

Date: 2015-05-15.00:00:00

Rationale (May, 2015):

The material in 6.6 [basic.link] deals with linkage concepts, while 9.2.2 [dcl.stc] is concerned with the syntactic constructs in a program that result in the linkages described in 6.6 [basic.link]. CWG felt that the referenced paragraph falls more into the latter category than the former.

Date: 2022-11-20.07:54:16

9.2.2 [dcl.stc] paragraph 7 seems out of place in the current organization of the Standard:

The linkages implied by successive declarations for a given entity shall agree. That is, within a given scope, each declaration declaring the same variable name or the same overloading of a function name shall imply the same linkage. Each function in a given set of overloaded functions can have a different linkage, however. [Example:...

The preceding two paragraphs on static and extern simply defer to 6.6 [basic.link] to describe their interaction with linkage, so it seems appropriate for this paragraph to move there as well so that all the information on linkage is in one place.

History
Date User Action Args
2015-05-25 00:00:00adminsetmessages: + msg5955
2014-11-26 00:00:00admincreate