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
[dcl.fct] p5 does not sufficiently clarify the following case:
voidfoo(int[0]);
The type of int[0] is adjusted to int*.
I believe that the existing wording in [dcl.array] is sufficiently clear for this to be an editorial issue. int[0] is not a valid type, so an adjustment of it cannot retroactively make it valid.
We could add the following line to the example in the mentioned paragraph:
voidj(int[0]); // ill-formed
The text was updated successfully, but these errors were encountered:
[dcl.fct] p5 does not sufficiently clarify the following case:
The type of
int[0]
is adjusted toint*
.I believe that the existing wording in [dcl.array] is sufficiently clear for this to be an editorial issue.
int[0]
is not a valid type, so an adjustment of it cannot retroactively make it valid.We could add the following line to the example in the mentioned paragraph:
The text was updated successfully, but these errors were encountered: