mclow.lists added inline comments.
================
Comment at: include/span:236
+ _LIBCPP_INLINE_VISIBILITY constexpr span(pointer __ptr, index_type
__count) : __data{__ptr}
+ { assert(_Extent == __count); }
+ _LIBCPP_INLINE_VISIBILITY constexpr span(pointer __f, pointer __l) :
__data{__f}
----------------
These naked `assert` calls need to be `_LIBCPP_ASSERT`
https://reviews.llvm.org/D49338
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits