Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mdspan.layout.leftpad], [mdspan.layout.rightpad] Simplify definition of P_rank #7641

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 2 additions & 20 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -21764,16 +21764,7 @@

\pnum
Throughout \ref{mdspan.layout.leftpad},
let \tcode{P_rank} be the following
size \exposid{rank_} parameter pack of \tcode{size_}t values:
\begin{itemize}
\item
the empty parameter pack, if \exposid{rank_} equals zero;
\item
\tcode otherwise, \tcode{0zu}, if \exposid{rank_} equals one;
\item
otherwise, the parameter pack \tcode{0zu}, \tcode{1zu}, \ldots, \tcode{\exposid{rank_}- 1}.
\end{itemize}
let \tcode{P_rank} be the pack \tcode{0, 1, $\dotsc$, (\exposid{rank_} - 1)}.

\pnum
\mandates
Expand Down Expand Up @@ -22389,16 +22380,7 @@

\pnum
Throughout \ref{mdspan.layout.rightpad},
let \tcode{P_rank} be the following
size \exposid{rank_} parameter pack of \tcode{size_}t values:
\begin{itemize}
\item
the empty parameter pack, if \exposid{rank_} equals zero;
\item
\tcode otherwise, \tcode{0zu}, if \exposid{rank_} equals one;
\item
otherwise, the parameter pack \tcode{0zu}, \tcode{1zu}, \ldots, \tcode{\exposid{rank_}- 1}.
\end{itemize}
let \tcode{P_rank} be the pack \tcode{0, 1, $\dotsc$, (\exposid{rank_} - 1)}.

\pnum
\mandates
Expand Down