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
We have an example in [cpp.import] of header unit importation adding points of definition for macros, but the example does not make it clear that named module imports do not have that effect.
Suggested resolution:
Add a module unit to the example in [cpp.import]/8 that imports the header unit, and explain that importing that module unit does not make macros from the header unit visible.
The text was updated successfully, but these errors were encountered:
jensmaurer
changed the title
[cpp.import] Example should demonstrate that module imports do not import macros
CWG2667 [cpp.import] Example should demonstrate that module imports do not import macros
Dec 17, 2022
Reference (section label): [cpp.import]
Link to reflector thread (if any): https://twitter.com/starfreakclone/status/1603571154245275653
Issue description:
We have an example in [cpp.import] of header unit importation adding points of definition for macros, but the example does not make it clear that named module imports do not have that effect.
Suggested resolution:
Add a module unit to the example in [cpp.import]/8 that imports the header unit, and explain that importing that module unit does not make macros from the header unit visible.
The text was updated successfully, but these errors were encountered: