You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
wg21bot
changed the title
GB046 07.05.4
GB046 07.05.4 Allow caching of evaluations of concept specializations
Oct 23, 2019
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.
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.
The text was updated successfully, but these errors were encountered: