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

[gram.key] Is it in a C++98 state, or is it intentional? #6486

Open
Eisenwave opened this issue Aug 20, 2023 · 4 comments · May be fixed by #6837
Open

[gram.key] Is it in a C++98 state, or is it intentional? #6486

Eisenwave opened this issue Aug 20, 2023 · 4 comments · May be fixed by #6837

Comments

@Eisenwave
Copy link
Contributor

Eisenwave commented Aug 20, 2023

[gram.key] says that some declarations introduce context-dependent keywords.

  1. How does a typedef declaration introduce context-dependent keywords, and what are they?
  2. Also, does a using-declaration not introduce keywords, but typedef does?
  3. Last but not least, are concepts missing from this section?
@JohelEGP
Copy link
Contributor

Also, does a using-declaration not introduce keywords, but typedef does?

It does.

2
#
A typedef-name can also be introduced by an alias-declaration.

@frederick-vs-ja
Copy link
Contributor

3. Last but not least, are concepts missing from this section?

Concepts are covered by template, see [temp.pre]/1.

@jwakely
Copy link
Member

jwakely commented Aug 21, 2023

But these all introduce names (in the form of identifiers). I think it's a valid question how they are "context-dependent keywords".

@jwakely
Copy link
Member

jwakely commented Aug 21, 2023

If this subclause is supposed to be Informative, it should inform not confuse. What is the normative meaning of context-dependent keyword? Could we get an example of introducing one?

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

Successfully merging a pull request may close this issue.

4 participants