Skip to content

Commit fc07369

Browse files
burblebeetkoeppe
authored andcommitted
LWG4465 §[alg.partitions] Clarify Returns: element
Fixes US 162-261 (C++26 CD).
1 parent f7dba19 commit fc07369

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
@@ -9970,14 +9970,14 @@
99709970

99719971
\pnum
99729972
\returns
9973-
Let \tcode{o1} be the iterator past the last copied element
9974-
in the output range \range{out_true}{last_true},
9975-
and \tcode{o2} be the iterator past the last copied element
9976-
in the output range \range{out_false}{last_false}.
9973+
Let \tcode{$Q$} be the number of elements copied
9974+
into the output range \range{out_true}{last_true},
9975+
and \tcode{$V$} be the number of elements copied
9976+
into the output range \range{out_false}{last_false}.
99779977
Returns:
99789978
\begin{itemize}
9979-
\item \tcode{\{o1, o2\}} for the overloads in namespace \tcode{std}.
9980-
\item \tcode{\{first + $N$, o1, o2\}} for the overloads in namespace \tcode{ranges}.
9979+
\item \tcode{\{out_true + $Q$, out_false + $V$\}} for the overloads in namespace \tcode{std}.
9980+
\item \tcode{\{first + $N$, out_true + $Q$, out_false + $V$\}} for the overloads in namespace \tcode{ranges}.
99819981
\end{itemize}
99829982

99839983
\pnum

0 commit comments

Comments
 (0)