Skip to content

Commit f2b0254

Browse files
committed
[mdspan.sub.map.{left,right}] Fix typos: "layout_left" => "layout_right", "_rank" => "rank_"
This was a misapplication of P2642R6. Also improves linebreaking for clarity.
1 parent 8d375c7 commit f2b0254

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/containers.tex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25687,15 +25687,15 @@
2568725687
if \tcode{Extents::rank() == 0} is \tcode{true};
2568825688
\item
2568925689
otherwise,
25690-
\tcode{submdspan_mapping_result\{layout_left::mapping(sub_ext), offset\}},
25690+
\tcode{submdspan_mapping_result\{layout_left::mapping(sub_ext), offset\}},\newline
2569125691
if \tcode{SubEx\-tents::rank() == 0} is \tcode{true};
2569225692
\item
2569325693
otherwise,
2569425694
\tcode{submdspan_mapping_result\{layout_left::mapping(sub_ext), offset\}},
2569525695
if
2569625696
\begin{itemize}
2569725697
\item
25698-
for each $k$ in the range \range{0}{SubExtents::rank() - 1)},
25698+
for each $k$ in the range \range{0}{SubExtents::rank() - 1)},\newline
2569925699
\tcode{is_convertible_v<$S_k$, full_ext\-ent_t>} is \tcode{true}; and
2570025700
\item
2570125701
for $k$ equal to \tcode{SubExtents::rank() - 1},
@@ -25720,7 +25720,7 @@
2572025720
\item
2572125721
$S_0$ is a unit-stride slice for \tcode{mapping}; and
2572225722
\item
25723-
for each $k$ in the range \range{$u$ + 1}{$u$ + SubExtents::rank() - 1},
25723+
for each $k$ in the range \range{$u$ + 1}{$u$ + SubExtents::rank() - 1},\newline
2572425724
\tcode{is_convertible_v<$S_k$, full_extent_t>} is \tcode{true}; and
2572525725
\item
2572625726
for $k$ equal to \tcode{$u$ + SubExtents::rank() - 1},
@@ -25763,23 +25763,23 @@
2576325763
if \tcode{Extents::rank() == 0} is \tcode{true};
2576425764
\item
2576525765
otherwise,
25766-
\tcode{submdspan_mapping_result\{layout_right::mapping(sub_ext), offset\}},
25766+
\tcode{submdspan_mapping_result\{layout_right::mapping(sub_ext), offset\}},\newline
2576725767
if \tcode{Sub\-Extents::rank() == 0} is \tcode{true};
2576825768
\item
2576925769
otherwise,
25770-
\tcode{submdspan_mapping_result\{layout_left::mapping(sub_ext), offset\}},
25770+
\tcode{submdspan_mapping_result\{layout_right::mapping(sub_ext), offset\}},
2577125771
if
2577225772
\begin{itemize}
2577325773
\item
25774-
for each $k$ in the range \range{\exposid{rank_} - SubExtents::rank() + 1}{\exposid{rank_}},
25774+
for each $k$ in the range \range{\exposid{rank_} - SubExtents::rank() + 1}{\exposid{rank_}},\newline
2577525775
\tcode{is_convertible_v<$S_k$, full_extent_t>} is \tcode{true}; and
2577625776
\item
25777-
for $k$ equal to \exposid{_rank} - \tcode{SubExtents::rank()},
25777+
for $k$ equal to \exposid{rank_} - \tcode{SubExtents::rank()},
2577825778
$S_k$ is a unit-stride slice for \tcode{mapping};
2577925779
\end{itemize}
2578025780
\begin{note}
2578125781
If the above conditions are true,
25782-
all $S_k$ with $k < \tcode{\exposid{_rank} - SubExtents::rank()}$
25782+
all $S_k$ with $k < \tcode{\exposid{rank_} - SubExtents::rank()}$
2578325783
are convertible to \tcode{index_type}.
2578425784
\end{note}
2578525785
\item
@@ -25798,7 +25798,7 @@
2579825798
$S_k$ is a unit-stride slice for \tcode{mapping}; and
2579925799
\item
2580025800
for each $k$ in the range
25801-
\range{\exposid{rank_} - SubExtents::rank() - $u$ + 1}{\exposid{rank_} - $u$ - 1},
25801+
\range{\exposid{rank_} - SubExtents::rank() - $u$ + 1}{\exposid{rank_} - $u$ - 1},\newline
2580225802
\tcode{is_con\-vertible_v<$S_k$, full_extent_t>} is \tcode{true}; and
2580325803
\item
2580425804
for $k$ equal to \tcode{\exposid{rank_} - SubExtents::rank() - $u$},\newline

0 commit comments

Comments
 (0)