Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GB022 04.01Allow "import" for accessing standard library names #22

Closed
wg21bot opened this issue Oct 23, 2019 · 2 comments · Fixed by cplusplus/draft#3356
Closed

GB022 04.01Allow "import" for accessing standard library names #22

wg21bot opened this issue Oct 23, 2019 · 2 comments · Fixed by cplusplus/draft#3356
Labels
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Oct 23, 2019

Allow access to standard library names via import
[intro.compliance] 4.1 p5
"The names defined in the library have namespace scope (9.7). A C++ translation unit (5.2) obtains access to these names by including the appropriate standard library header (15.2)."

Proposed change:
Add that standard library names can also be accessed by importing the appropriate header unit.:
… library header (15.2) or importing the appropriate standard library named header unit (10.3), [headers] 16.5.1.2 p4.

@wg21bot wg21bot added EWG Evolution LEWG Library Evolution labels Oct 23, 2019
@jensmaurer jensmaurer added the modules Modules label Oct 26, 2019
@jfbastien jfbastien added modules Modules and removed modules Modules EWG Evolution labels Oct 26, 2019
@jensmaurer
Copy link
Member

Given [using.headers], this is an editorial fix. Retargeting.

@jensmaurer
Copy link
Member

Accepted with modification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants