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
Accessing an incomplete type in requires-expression results in substitution failure. This is a dangerous approach that provokes odr-violations. Making the program ill-formed is a better approach that protects from hard detectable odr-violations.
Proposed change:
Add to the [expr.prim.req] paragraph 6:
In such cases, the requires-expression evaluates to false; it does not cause the program to be ill-formed if the requires-expression does not refer to incomplete type.