Skip to content

Commit 0201407

Browse files
authored
[views.multidim] Fix template arguments for submdspan_extents (#8243)
1 parent 9ce72e7 commit 0201407

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/containers.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21080,7 +21080,7 @@
2108021080
struct full_extent_t { explicit full_extent_t() = default; };
2108121081
inline constexpr full_extent_t full_extent{};
2108221082

21083-
template<class IndexType, class... Extents, class... SliceSpecifiers>
21083+
template<class IndexType, size_t... Extents, class... SliceSpecifiers>
2108421084
constexpr auto submdspan_extents(const extents<IndexType, Extents...>&, SliceSpecifiers...);
2108521085

2108621086
// \ref{mdspan.sub.sub}, \tcode{submdspan} function template
@@ -25500,15 +25500,15 @@
2550025500

2550125501
\indexlibraryglobal{submdspan_extents}%
2550225502
\begin{itemdecl}
25503-
template<class IndexType, class... Extents, class... SliceSpecifiers>
25503+
template<class IndexType, size_t... Extents, class... SliceSpecifiers>
2550425504
constexpr auto submdspan_extents(const extents<IndexType, Extents...>& src,
2550525505
SliceSpecifiers... slices);
2550625506
\end{itemdecl}
2550725507

2550825508
\begin{itemdescr}
2550925509
\pnum
2551025510
\constraints
25511-
\tcode{sizeof...(slices)} equals \tcode{Extents::rank()}.
25511+
\tcode{sizeof...(slices)} equals \tcode{sizeof...(Extents)}.
2551225512

2551325513
\pnum
2551425514
\mandates

0 commit comments

Comments
 (0)