You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not clear whether header-unit source code can contain internal-linkage entities. For example the iostream header can contain:
static ios_base::Ioinit __ioinit;
Is that permitted, or does it make the header file incompatible with being a header unit?
Proposed change:
Preference for internal linkage entities to be an error. Thus library implementors will need an (implementation-defined) mechanism to know whether the header file is being textually included, or whether it is being processed to create a header-unit.
The text was updated successfully, but these errors were encountered:
jensmaurer
changed the title
US133 15.03 Header units containing internal-linkage entities
US133 15.03 Header units containing internal-linkage entities P2003
Jan 19, 2020
jensmaurer
changed the title
US133 15.03 Header units containing internal-linkage entities P2003
US133 15.03 Header units containing internal-linkage entities P2003 P1815
Feb 12, 2020
It is not clear whether header-unit source code can contain internal-linkage entities. For example the iostream header can contain:
static ios_base::Ioinit __ioinit;
Is that permitted, or does it make the header file incompatible with being a header unit?
Proposed change:
Preference for internal linkage entities to be an error. Thus library implementors will need an (implementation-defined) mechanism to know whether the header file is being textually included, or whether it is being processed to create a header-unit.
The text was updated successfully, but these errors were encountered: