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] would be adjusted to int*, but since int[0] was never a valid type in the first place, there is nothing to be adjusted.
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: