[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


================
@@ -40,6 +40,9 @@
 #include <__utility/integer_sequence.h>
 #include <array>
 #include <span>
+#if _LIBCPP_STD_VER >= 26
+#  include <stdexcept>
+#endif
----------------
H-G-Hristov wrote:

```suggestion
#  include <stdexcept>
```

Typically includes are unconditional.

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


More information about the libcxx-commits mailing list