[libcxx-commits] [PATCH] D69466: Guard against overflow in span::subspan

Michael Schellenberger Costa via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 28 12:03:17 PDT 2019


miscco added a subscriber: CaseyCarter.
miscco added a comment.

I have added some additional unit tests that should statically fail.

I also SFINAEd out the default constructor if Extent != 0. I did learn how to do that from microsofts STL. Is that a licensing problem @CaseyCarter?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69466





More information about the libcxx-commits mailing list