[libcxx-commits] [PATCH] D68952: Guard against possible overflow in span.subpan

Michael Schellenberger Costa via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 22 12:12:18 PDT 2019


miscco updated this revision to Diff 226070.
miscco added a comment.

Fixed preexisting bug and added necessary static_assert in another case

Also added (untested) Unit tests


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68952/new/

https://reviews.llvm.org/D68952

Files:
  include/span
  test/std/containers/views/span.sub/subspan.fail.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68952.226070.patch
Type: text/x-patch
Size: 5809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20191022/c7e3158c/attachment.bin>


More information about the libcxx-commits mailing list