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

[reserved.names] Account for *module-name*s reserved in [module.unit]p1 #4919

Open
JohelEGP opened this issue Sep 19, 2021 · 4 comments
Open

Comments

@JohelEGP
Copy link
Contributor

No description provided.

@jensmaurer
Copy link
Member

jensmaurer commented Sep 19, 2021

Note that [basic.pre] p4 defines what a name is. A module-name is none of these.

What exactly do you have in mind here? Why do you think that's editorial?

@JohelEGP
Copy link
Contributor Author

JohelEGP commented Sep 19, 2021

Note that [basic.pre] p4 defines what a name is. A module-name is none of these.

Indeed.

What exactly do you have in mind here?

My intention was to make it evident that some _module-name_s are reserved for the library.
In the same manner that [over.literal] backreferences [usrlit.suffix],
one of the bullets of [reserver.names.general] could reference [module.unit].

Why do you think that's editorial?

Because, presumably, std followed by any amount of digits is reserved for the library. And core can't use it without library buy-in. A backreference wouldn't be a normative addition.

@JohelEGP JohelEGP reopened this Sep 19, 2021
@JohelEGP
Copy link
Contributor Author

We can also take advantage of [reserved.names.general] saying "kind of names". That weakens the normative meaning of name as their "kind" is not normatively defined. So it could be stretched to include module-names.

@jensmaurer
Copy link
Member

A macro name is not a name per [basic.pre] p4 either, and those are in the list, too.

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

No branches or pull requests

2 participants