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

US120 14.04.1.2 p2 "the same template parameter" in parameter mappings #119

Closed
wg21bot opened this issue Oct 23, 2019 · 2 comments · Fixed by cplusplus/draft#3738
Closed
Labels
Projects
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Oct 23, 2019

There is no specification for which template parameters in (the template arguments in) one parameter mapping are "the same template parameter" (from [temp.over.link]/5) as those in another parameter mapping.

Proposed change:
Use the mappings obtained by the partial-ordering deduction (which is required to have succeeded), augmented by matching by position for template parameters of the same kind that were not deduced per [temp.deduct.partial]/12 (to support constrained function templates like std::make_unique).

@wg21bot wg21bot added the CWG Core label Oct 23, 2019
@jensmaurer jensmaurer added the concepts Concepts label Oct 30, 2019
@jensmaurer
Copy link
Member

See CA112 #111.

CWG in Belfast: Accepted with modification.

@jensmaurer jensmaurer added this to Drafting in CWG Nov 4, 2019
@jensmaurer jensmaurer moved this from Drafting to Accepted in CWG Feb 13, 2020
@jensmaurer
Copy link
Member

jensmaurer commented Feb 13, 2020

CWG in Prague: Accepted with modification. See paper P2113R0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
CWG
Accepted
Development

Successfully merging a pull request may close this issue.

2 participants