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

CA096 12.02 [over.dcl] p1 Declaration matching for non-dependent requires-clauses #95

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

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Oct 23, 2019

Declaration matching ([over.dcl]) is based upon whether trailing requires-clauses are equivalent; however, equivalent, with respect to expressions ([temp.over.link]), is defined only for expressions involving template parameters.

Proposed change:
Extend the definitions of equivalent and functionally equivalent to cover expressions subject to normalization in general (not just those involving template parameters).
Further, make the determination of expression equivalence treat concept definitions as opaque by adding a condition that an expression that may be subject to constraint normalization is functionally equivalent only if each qualified-concept-name that may be expanded by normalization would be considered to name the same type if, instead of a concept, a class template was named.

@wg21bot wg21bot added the CWG Core label Oct 23, 2019
@jfbastien jfbastien added the concepts Concepts label Oct 24, 2019
@jfbastien
Copy link
Collaborator

See voting for #374

@jensmaurer
Copy link
Member

CWG in Belfast: Tentatively accepted; drafting assigned.

@jensmaurer jensmaurer moved this from Drafting to TODO in CWG Nov 8, 2019
@jensmaurer jensmaurer moved this from TODO to Drafting in CWG Nov 8, 2019
@jensmaurer
Copy link
Member

jensmaurer commented Nov 8, 2019

CWG in Belfast: Accepted with modification. See paper P1980R0.

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.

3 participants