[llvm-branch-commits] [libcxx] [libcxx] Include __fwd/span.h in <mdspan> (PR #142925)

Nikolas Klauser via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jun 5 07:52:18 PDT 2025


================
@@ -451,6 +451,7 @@ namespace std {
 
 #  if _LIBCPP_STD_VER >= 23
 #    include <__fwd/mdspan.h>
+#    include <__fwd/span.h>
----------------
philnik777 wrote:

Can you add a comment with the LWG issue number? If the answer is that we indeed expect users to include `<span>` we should remove the include again. I don't expect it, but it's better to have a comment that this is technically an extension currently.

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


More information about the llvm-branch-commits mailing list