[dcl.ref] Requirement to diagnose invalid binding of references #2848
Labels
cwg
Issue must be reviewed by CWG.
not-editorial
Issue is not deemed editorial; the editorial issue is kept open for tracking.
[dcl.ref]/5 says:
According to the specification style guidelines, this sentence imposes a requirement on implementations to diagnose violations of this rule, as there is no mention of "no diagnostic is required" or "undefined behavior".
It is unreasonable to expect implementations to diagnose all violations of this rule.
This is related to CWG 453.
The text was updated successfully, but these errors were encountered: