lichray added inline comments.
================
Comment at: include/array:135
+ _LIBCPP_INLINE_VISIBILITY
+ static void __swap(_StorageT& __lhs, _StorageT& __rhs) {
+ std::swap_ranges(__lhs, __lhs + _Size, __rhs);
----------------
Just asking: no compiler is dumb enough to not inline this entirely trivial
wrapper so that it's okay to not to propagate `noexcept` here to avoid
try...capture...terminate codegen in its caller side?
https://reviews.llvm.org/D41223
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits