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
[basic.def.odr] p5 "appears as" is not defined and "named by" is a better choice #5533
Comments
No, because it raises the question whether an unevaluated subexpression (e.g. sizeof) of a potentially-evaluated expression also fits "named by". (It clearly doesn't fit "appears as".) |
Why? Did you mean such as this example? auto c = sizeof(T::x); The variable Furthermore, the wording about whether a function is odr-used in N495 has been changed from
to
What's the difference if we apply a similar change for variables? |
Agreed. |
@jensmaurer Could you take a look at #5534 then? |
[basic.def.odr] p5 says
The intent of what
E
is here refers to theid-expression
naming the entity. "appear as" is not a defined meaning. It is better that we just say:It is more clear.
The text was updated successfully, but these errors were encountered: