Skip to content

Commit 513635b

Browse files
authored
[range.reverse.overview] Replace 'equivalent to' with 'then' (#6966)
1 parent 920722b commit 513635b

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

source/ranges.tex

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9660,26 +9660,21 @@
96609660
\item
96619661
If the type of \tcode{E} is
96629662
a (possibly cv-qualified) specialization of \tcode{reverse_view},
9663-
equivalent to \tcode{E.base()}.
9663+
then \tcode{E.base()}.
96649664
\item
96659665
Otherwise, if the type of \tcode{E} is \cv{} \tcode{subrange<reverse_iterator<I>, reverse_iterator<I>, K>}
96669666
for some iterator type \tcode{I} and
96679667
value \tcode{K} of type \tcode{subrange_kind},
96689668
\begin{itemize}
96699669
\item
9670-
if \tcode{K} is \tcode{subrange_kind::sized}, equivalent to:
9671-
\begin{codeblock}
9672-
subrange<I, I, K>(E.end().base(), E.begin().base(), E.size())
9673-
\end{codeblock}
9670+
if \tcode{K} is \tcode{subrange_kind::sized}, then
9671+
\tcode{subrange<I, I, K>(E.end().base(), E.begin().base(), E.size())};
96749672
\item
9675-
otherwise, equivalent to:
9676-
\begin{codeblock}
9677-
subrange<I, I, K>(E.end().base(), E.begin().base())
9678-
\end{codeblock}
9673+
otherwise, \tcode{subrange<I, I, K>(E.end().base(), E.begin().base())}.
96799674
\end{itemize}
96809675
However, in either case \tcode{E} is evaluated only once.
96819676
\item
9682-
Otherwise, equivalent to \tcode{reverse_view\{E\}}.
9677+
Otherwise, \tcode{reverse_view\{E\}}.
96839678
\end{itemize}
96849679

96859680
\pnum

0 commit comments

Comments
 (0)