[libcxx-commits] [PATCH] D71995: [libcxx] span: Fix incorrect static asserts

Michael Schellenberger Costa via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 11 03:54:03 PST 2020


miscco added a comment.

@ldionne I aggree with your sentiment and I only discovered this when I implemented span for MSVC STL and added the same static assert to `operator[]`

I believe that this should be something for `if consteval`

I added some tests


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71995





More information about the libcxx-commits mailing list