Skip to content

Commit bd0df64

Browse files
committed
LWG4465 §[alg.partitions] Clarify Returns: element
Fixes US 162-261 (C++26 CD).
1 parent e353581 commit bd0df64

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/algorithms.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9964,14 +9964,14 @@
99649964

99659965
\pnum
99669966
\returns
9967-
Let \tcode{o1} be the iterator past the last copied element
9968-
in the output range \range{out_true}{last_true},
9969-
and \tcode{o2} be the iterator past the last copied element
9970-
in the output range \range{out_false}{last_false}.
9967+
Let \tcode{$Q$} be the number of elements copied
9968+
into the output range \range{out_true}{last_true},
9969+
and \tcode{$V$} be the number of elements copied
9970+
into the output range \range{out_false}{last_false}.
99719971
Returns:
99729972
\begin{itemize}
9973-
\item \tcode{\{o1, o2\}} for the overloads in namespace \tcode{std}.
9974-
\item \tcode{\{first + $N$, o1, o2\}} for the overloads in namespace \tcode{ranges}.
9973+
\item \tcode{\{out_true + $Q$, out_false + $V$\}} for the overloads in namespace \tcode{std}.
9974+
\item \tcode{\{first + $N$, out_true + $Q$, out_false + $V$\}} for the overloads in namespace \tcode{ranges}.
99759975
\end{itemize}
99769976

99779977
\pnum

0 commit comments

Comments
 (0)