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

GB046 07.05.4 Allow caching of evaluations of concept specializations #45

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

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Oct 23, 2019

Implementations should be allowed to cache the results of concept specialisation evaluations
The current wording of [expr.prim.id]/4 precludes the possibility of caching concept specialisations (which has led to demonstrable performance issues in implementations that are standard-conforming contrasted against implementations that cache results).

Proposed change:
Add wording to the effect of:
A program which causes a given set of template arguments to change their satisfaction of a constraint, and relies upon this change, is ill-formed, no diagnostic is required.

@wg21bot wg21bot changed the title GB046 07.05.4 GB046 07.05.4 Allow caching of evaluations of concept specializations Oct 23, 2019
@wg21bot wg21bot added the EWG Evolution label Oct 23, 2019
@jfbastien jfbastien added the concepts Concepts label Oct 24, 2019
@jfbastien
Copy link
Collaborator

Not enough information, Christopher Di Bella to come back with information.

@jfbastien
Copy link
Collaborator

EWG Prague Tuesday morning:

Add wording to the effect of: A program which causes a given set of template arguments to change their satisfaction of a constraint, and relies upon this change, is ill-formed, no diagnostic is required.

SF F N A SA
10 14 0 2 0

Andrew, Gaby, and Roger to write paper.

@jfbastien
Copy link
Collaborator

EWG Prague Tuesday after lunch:

Adopt D2104 as a resolution to GB046, send to Core.

SF F N A SA
9 8 1 0 0

@jfbastien jfbastien added CWG Core and removed EWG Evolution labels Feb 11, 2020
@jensmaurer jensmaurer added this to TODO in CWG Feb 11, 2020
@jensmaurer
Copy link
Member

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

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