Skip to content

Commit 75ed240

Browse files
committed
[mdspan.submdspan.strided.slice] Use member typedefs instead of template arguments
1 parent cd1eb06 commit 75ed240

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/containers.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21553,9 +21553,9 @@
2155321553
using extent_type = ExtentType;
2155421554
using stride_type = StrideType;
2155521555

21556-
[[no_unique_address]] OffsetType offset{};
21557-
[[no_unique_address]] ExtentType extent{};
21558-
[[no_unique_address]] StrideType stride{};
21556+
[[no_unique_address]] offset_type offset{};
21557+
[[no_unique_address]] extent_type extent{};
21558+
[[no_unique_address]] stride_type stride{};
2155921559
};
2156021560
}
2156121561
\end{codeblock}
@@ -21570,7 +21570,7 @@
2157021570
are signed or unsigned integer types, or
2157121571
model \exposconcept{integral-constant-like}.
2157221572
\begin{note}
21573-
\tcode{strided_slice\{.offset=1, .extent=10, .stride=3\}}
21573+
\tcode{strided_slice\{.offset = 1, .extent = 10, .stride = 3\}}
2157421574
indicates the indices \tcode{1}, \tcode{4}, \tcode{7}, and \tcode{10}.
2157521575
Indices are selected from the half-open interval \range{1}{1 + 10}.
2157621576
\end{note}

0 commit comments

Comments
 (0)