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
Otherwise, if P and Q point to, respectively, array elements i and j of the same array object x, the expression P - Q has the value i - j.
When i - j is not in range of ptrdiff_t, this seems to be undefined behaviour due to [expr.pre]. The note on 5.3 should probably be moved here, and a reference to [expr.pre] added.
The text was updated successfully, but these errors were encountered:
When i - j is not in range of
ptrdiff_t
, this seems to be undefined behaviour due to [expr.pre]. The note on 5.3 should probably be moved here, and a reference to [expr.pre] added.The text was updated successfully, but these errors were encountered: