That is already checked later in the function as __count <= size() - __offset.
rdar://107884996
Paths
| Differential D148030
[libc++] Remove redundant assertion in std::span::subspan ClosedPublic Authored by ldionne on Apr 11 2023, 9:56 AM.
Details
Summary That is already checked later in the function as __count <= size() - __offset. rdar://107884996
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 11 2023, 11:02 AM This revision was landed with ongoing or failed builds.Apr 14 2023, 8:20 AM Closed by commit rG3865e084b2ef: [libc++] Remove redundant assertion in std::span::subspan (authored by ldionne). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 512504 libcxx/include/span
libcxx/test/libcxx/containers/views/views.span/span.sub/assert.subspan.pass.cpp
|