Skip to content

Commit e1a368b

Browse files
committed
[mdspan.sub] Change to "unit-stride slice for mapping"
This was the wording requested by LWG and approved in P3355R2, but I mistakenly put P3355R1 in the straw polls.
1 parent 8215379 commit e1a368b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

source/containers.tex

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24361,7 +24361,7 @@
2436124361
\tcode{is_convertible_v<$S_k$, full_ext\-ent_t>} is \tcode{true}; and
2436224362
\item
2436324363
for $k$ equal to \tcode{SubExtents::rank() - 1},
24364-
$S_k$ is a unit-stride slice for \tcode{decltype(*this)};
24364+
$S_k$ is a unit-stride slice for \tcode{mapping};
2436524365
\end{itemize}
2436624366
\begin{note}
2436724367
If the above conditions are true,
@@ -24376,17 +24376,17 @@
2437624376
\end{codeblock}
2437724377
if for a value $u$ for which $u+1$ is
2437824378
the smallest value $p$ larger than zero
24379-
for which $S_p$ is a unit-stride slice for \tcode{decltype(*this)},
24379+
for which $S_p$ is a unit-stride slice for \tcode{mapping},
2438024380
the following conditions are met:
2438124381
\begin{itemize}
2438224382
\item
24383-
$S_0$ is a unit-stride slice for \tcode{decltype(*this)}; and
24383+
$S_0$ is a unit-stride slice for \tcode{mapping}; and
2438424384
\item
2438524385
for each $k$ in the range \range{$u$ + 1}{$u$ + SubExtents::rank() - 1},
2438624386
\tcode{is_convertible_v<$S_k$, full_extent_t>} is \tcode{true}; and
2438724387
\item
2438824388
for $k$ equal to \tcode{$u$ + SubExtents::rank() - 1},
24389-
$S_k$ is a unit-stride slice for \tcode{decltype(*this)};
24389+
$S_k$ is a unit-stride slice for \tcode{mapping};
2439024390
\end{itemize}
2439124391
and where \tcode{S_static} is:
2439224392
\begin{itemize}
@@ -24437,7 +24437,7 @@
2443724437
\tcode{is_convertible_v<$S_k$, full_extent_t>} is \tcode{true}; and
2443824438
\item
2443924439
for $k$ equal to \exposid{_rank} - \tcode{SubExtents::rank()},
24440-
$S_k$ is a unit-stride slice for \tcode{decltype(*this)};
24440+
$S_k$ is a unit-stride slice for \tcode{mapping};
2444124441
\end{itemize}
2444224442
\begin{note}
2444324443
If the above conditions are true,
@@ -24452,19 +24452,19 @@
2445224452
\end{codeblock}
2445324453
if for a value $u$ for which $\exposid{rank_} - u - 2$ is
2445424454
the largest value $p$ smaller than \tcode{\exposid{rank_} - 1}
24455-
for which $S_p$ is a unit-stride slice for \tcode{decltype(*this)},
24455+
for which $S_p$ is a unit-stride slice for \tcode{mapping},
2445624456
the following conditions are met:
2445724457
\begin{itemize}
2445824458
\item
2445924459
for $k$ equal to \tcode{\exposid{rank_} - 1},
24460-
$S_k$ is a unit-stride slice for \tcode{decltype(*this)}; and
24460+
$S_k$ is a unit-stride slice for \tcode{mapping}; and
2446124461
\item
2446224462
for each $k$ in the range
2446324463
\range{\exposid{rank_} - SubExtents::rank() - $u$ + 1}{\exposid{rank_} - $u$ - 1},
2446424464
\tcode{is_con\-vertible_v<$S_k$, full_extent_t>} is \tcode{true}; and
2446524465
\item
2446624466
for $k$ equal to \tcode{\exposid{rank_} - SubExtents::rank() - $u$},\newline
24467-
$S_k$ is a unit-stride slice for \tcode{decltype(*this)};
24467+
$S_k$ is a unit-stride slice for \tcode{mapping};
2446824468
\end{itemize}
2446924469
and where \tcode{S_static} is:
2447024470
\begin{itemize}
@@ -24540,7 +24540,7 @@
2454024540
\item
2454124541
\tcode{SubExtents::rank() == 1} is \tcode{true} and
2454224542
\item
24543-
$S_0$ is a unit-stride slice for \tcode{decltype(*this)};
24543+
$S_0$ is a unit-stride slice for \tcode{mapping};
2454424544
\end{itemize}
2454524545
\item
2454624546
otherwise,
@@ -24550,17 +24550,17 @@
2455024550
\end{codeblock}
2455124551
if for a value $u$
2455224552
for which \tcode{$u$ + 1} is the smallest value $p$ larger than zero
24553-
for which $S_p$ is a unit-stride slice for \tcode{decltype(*this)},
24553+
for which $S_p$ is a unit-stride slice for \tcode{mapping},
2455424554
the following conditions are met:
2455524555
\begin{itemize}
2455624556
\item
24557-
$S_0$ is a unit-stride slice for \tcode{decltype(*this)}; and
24557+
$S_0$ is a unit-stride slice for \tcode{mapping}; and
2455824558
\item
2455924559
for each $k$ in the range \range{$u$ + 1}{$u$ + SubExtents::rank() - 1},
2456024560
\tcode{is_convertible_v<$S_k$, full_extent_t>} is \tcode{true}; and
2456124561
\item
2456224562
for $k$ equal to \tcode{$u$ + SubExtents::rank() - 1},
24563-
$S_k$ is a unit-stride slice for \tcode{decltype(*this)};
24563+
$S_k$ is a unit-stride slice for \tcode{mapping};
2456424564
\end{itemize}
2456524565
where \tcode{S_static} is:
2456624566
\begin{itemize}
@@ -24612,7 +24612,7 @@
2461224612
\tcode{SubExtents::rank() == 1} is \tcode{true} and
2461324613
\item
2461424614
for $k$ equal to \tcode{\exposid{rank_} - 1},
24615-
$S_k$ is a unit-stride slice for \tcode{decltype(*this)};
24615+
$S_k$ is a unit-stride slice for \tcode{mapping};
2461624616
\end{itemize}
2461724617
\item
2461824618
otherwise,
@@ -24623,19 +24623,19 @@
2462324623
if for a value $u$
2462424624
for which \tcode{\exposid{rank_} - $u$ - 2}
2462524625
is the largest value p smaller than \tcode{\exposid{rank_} - 1}
24626-
for which $S_p$ is a unit-stride slice for \tcode{decltype(*this)},
24626+
for which $S_p$ is a unit-stride slice for \tcode{mapping},
2462724627
the following conditions are met:
2462824628
\begin{itemize}
2462924629
\item
2463024630
for $k$ equal to \tcode{\exposid{rank_} - 1},
24631-
$S_k$ is a unit-stride slice for \tcode{decltype(*this)}; and
24631+
$S_k$ is a unit-stride slice for \tcode{mapping}; and
2463224632
\item
2463324633
for each $k$ in the range
2463424634
\range{\exposid{rank_} - SubExtents::rank() - $u$ + 1}{\exposid{rank_} - $u$ - 1)},
2463524635
\tcode{is_convertible_v<$S_k$, full_extent_t>} is \tcode{true}; and
2463624636
\item
2463724637
for $k$ equal to \tcode{\exposid{rank_} - SubExtents::rank() - $u$},\newline
24638-
$S_k$ is a unit-stride slice for \tcode{decltype(*this)};
24638+
$S_k$ is a unit-stride slice for \tcode{mapping};
2463924639
\end{itemize}
2464024640
and where \tcode{S_static} is:
2464124641
\begin{itemize}

0 commit comments

Comments
 (0)