[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:05:59 PDT 2019


miscco added a comment.

I also believe that we should add a static assert to `operator[]` similar to `front()` and `back()`. Unfortunately there are multiple tests that rely on `operator[]` of a statically empty span. Thoughts?


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