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.arg.template] Reference given for "equivalent types" only defines other kinds of equivalence #1475

Open
Eelis opened this issue Feb 18, 2017 · 0 comments
Labels
cwg Issue must be reviewed by CWG.

Comments

@Eelis
Copy link
Contributor

Eelis commented Feb 18, 2017

[temp.arg.template]/3 contains:

[..] Two template parameters match if they are of the same kind (type, non-type, template), for non-type template-parameters, their types are equivalent (14.5.6.1), and for template template-parameters, each of their corresponding template-parameters matches, recursively. [..]

Following the reference, one might hope to find information on "equivalent types" in 14.5.6.1 ([temp.over.link]). However, while that section does define equivalent expressions and equivalent function templates, it does not appear to define equivalence of types.

@zygoloid zygoloid added the cwg Issue must be reviewed by CWG. label Jul 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cwg Issue must be reviewed by CWG.
Projects
None yet
Development

No branches or pull requests

2 participants