Skip to content

Commit fdda04c

Browse files
committed
[mdspan.layout.{left,right}pad] Simplify definition of P_rank
1 parent 930b8f9 commit fdda04c

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

source/containers.tex

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21764,16 +21764,7 @@
2176421764

2176521765
\pnum
2176621766
Throughout \ref{mdspan.layout.leftpad},
21767-
let \tcode{P_rank} be the following
21768-
size \exposid{rank_} parameter pack of \tcode{size_}t values:
21769-
\begin{itemize}
21770-
\item
21771-
the empty parameter pack, if \exposid{rank_} equals zero;
21772-
\item
21773-
\tcode otherwise, \tcode{0zu}, if \exposid{rank_} equals one;
21774-
\item
21775-
otherwise, the parameter pack \tcode{0zu}, \tcode{1zu}, \ldots, \tcode{\exposid{rank_}- 1}.
21776-
\end{itemize}
21767+
let \tcode{P_rank} be the pack \tcode{0, 1, $\dotsc$, (\exposid{rank_} - 1)}.
2177721768

2177821769
\pnum
2177921770
\mandates
@@ -22389,16 +22380,7 @@
2238922380

2239022381
\pnum
2239122382
Throughout \ref{mdspan.layout.rightpad},
22392-
let \tcode{P_rank} be the following
22393-
size \exposid{rank_} parameter pack of \tcode{size_}t values:
22394-
\begin{itemize}
22395-
\item
22396-
the empty parameter pack, if \exposid{rank_} equals zero;
22397-
\item
22398-
\tcode otherwise, \tcode{0zu}, if \exposid{rank_} equals one;
22399-
\item
22400-
otherwise, the parameter pack \tcode{0zu}, \tcode{1zu}, \ldots, \tcode{\exposid{rank_}- 1}.
22401-
\end{itemize}
22383+
let \tcode{P_rank} be the pack \tcode{0, 1, $\dotsc$, (\exposid{rank_} - 1)}.
2240222384

2240322385
\pnum
2240422386
\mandates

0 commit comments

Comments
 (0)