[libcxx-commits] [libcxx] [libc++][mdspan] P3383R3: mdspan.at() (PR #175213)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 9 21:26:10 PST 2026


================
@@ -270,6 +304,10 @@ class mdspan {
 
   template <class, class, class, class>
   friend class mdspan;
+
+#  if _LIBCPP_STD_VER >= 26
+  [[noreturn]] _LIBCPP_HIDE_FROM_ABI void __throw_out_of_range() const { std::__throw_out_of_range("mdspan"); }
----------------
H-G-Hristov wrote:

```suggestion
  _LIBCPP_HIDE_FROM_ABI void __throw_out_of_range() const { std::__throw_out_of_range("mdspan"); }
```

https://github.com/llvm/llvm-project/pull/175213


More information about the libcxx-commits mailing list