================ @@ -552,6 +578,10 @@ public: private: pointer __data_; size_type __size_; + +# if _LIBCPP_STD_VER >= 26 + _LIBCPP_NORETURN _LIBCPP_HIDE_FROM_ABI void __throw_out_of_range() const { std::__throw_out_of_range("span"); } ---------------- mordante wrote:
Either remove the helper function and call `std::__throw_out_of_range("span");` directly or move it in the `std` namespace. We now add functions that are called once and use indirection for it. https://github.com/llvm/llvm-project/pull/74994 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits