From 75df33dad3d8fd6de4aa4f8bc48c043ce47be5f9 Mon Sep 17 00:00:00 2001 From: Luc Grosheintz Date: Mon, 22 Sep 2025 16:35:18 +0200 Subject: [PATCH 1/2] Fix typo in submdspan_extents. The pack `Extents` must be a pack of `size_t` integers. --- source/containers.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/containers.tex b/source/containers.tex index f8187b40a1..3d5b52dc35 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -25500,7 +25500,7 @@ \indexlibraryglobal{submdspan_extents}% \begin{itemdecl} -template +template constexpr auto submdspan_extents(const extents& src, SliceSpecifiers... slices); \end{itemdecl} @@ -25508,7 +25508,7 @@ \begin{itemdescr} \pnum \constraints -\tcode{sizeof...(slices)} equals \tcode{Extents::rank()}. +\tcode{sizeof...(slices)} equals \tcode{sizeof...(Extents)}. \pnum \mandates From 0ff2283e4aaeab82536a76f9efc6fd3d1fb7bb49 Mon Sep 17 00:00:00 2001 From: Luc Grosheintz Date: Mon, 22 Sep 2025 20:48:32 +0200 Subject: [PATCH 2/2] Also fix [mdspan.syn]. Fix same typo in [mdspan.syn]. --- source/containers.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/containers.tex b/source/containers.tex index 3d5b52dc35..a0460ca4d6 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -21080,7 +21080,7 @@ struct full_extent_t { explicit full_extent_t() = default; }; inline constexpr full_extent_t full_extent{}; - template + template constexpr auto submdspan_extents(const extents&, SliceSpecifiers...); // \ref{mdspan.sub.sub}, \tcode{submdspan} function template