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
Offset + Count <= size() is insufficient to guarantee that the span returned from span::subspan is valid since Offset + Count can wrap. It should instead be Count <= size() - Offset.
Per the discussion in #142 (comment).
Offset + Count <= size()is insufficient to guarantee that thespanreturned fromspan::subspanis valid sinceOffset + Countcan wrap. It should instead beCount <= size() - Offset.