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

[temp.local] injected-class-name as a type-name #5139

Closed
languagelawyer opened this issue Dec 5, 2021 · 0 comments · Fixed by #5141
Closed

[temp.local] injected-class-name as a type-name #5139

languagelawyer opened this issue Dec 5, 2021 · 0 comments · Fixed by #5141
Assignees

Comments

@languagelawyer
Copy link
Contributor

languagelawyer commented Dec 5, 2021

[temp.local]/1 says that injected-class-name sometimes can be interpreted as «a type-name equivalent to the template-name followed by the template-parameter s of the class template enclosed in <>». But template-parameter is like typename T, not T.

Prolly it should say «followed by the template argument list» (See http://eel.is/c++draft/temp.decls.general#2.sentence-2, http://eel.is/c++draft/temp.arg.general#2)?

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.

2 participants