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.dep.type] Simplify the meaning of "template argument list of the primary template" #3635

Closed
sdkrystian opened this issue Jan 16, 2020 · 2 comments

Comments

@sdkrystian
Copy link
Contributor

[temp.dep.type] p2 says:

The template argument list of a primary template is a template argument list in which the nth template argument has the value of the nth template parameter of the class template.

This can be written in a much more simple and "correct" manner, since the following paragraph outlines when an equivalent parameter can be used, and what such a parameter is. Something along the lines of:

The template argument list of a primary template is a template argument list in which the nth template argument is the name of the nth template parameter of the class template.

@jensmaurer
Copy link
Member

I would prefer if p2 would simply say "nth template argument is equivalent to the nth template parameter" and then in p3 say as the first case: "equivalent if the name of the corresponding template parameter is used".

@jensmaurer
Copy link
Member

This was rewritten by P1787

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