Skip to content

Commit de07aa3

Browse files
committed
LWG4464 [alg.merge] Wording tweaks
Fixes US 163-262 (C++26 CD).
1 parent b4de644 commit de07aa3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/algorithms.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10101,12 +10101,12 @@
1010110101
\tcode{proj2} be \tcode{identity\{\}},
1010210102
for the overloads with no parameters by those names;
1010310103
\item
10104-
$E(\tcode{e1}, \tcode{e1})$ be \tcode{bool(invoke(comp, invoke(proj2, e2), invoke(proj1, e1)))};
10104+
$E$ be \tcode{bool(invoke(comp, invoke(proj2, e2), invoke(proj1, e1)))};
1010510105
\item
1010610106
$K$ be the smallest integer in \range{0}{last1 - first1}
1010710107
such that for the element \tcode{e1} in the position \tcode{first1 + $K$}
1010810108
there are at least $N - K$ elements \tcode{e2}
10109-
in \range{first2}{last2} for which $E(\tcode{e1}, \tcode{e1})$ holds,
10109+
in \range{first2}{last2} for which $E$ holds,
1011010110
and be equal to \tcode{last1 - first1}
1011110111
if no such integer exists.
1011210112
\begin{note}
@@ -10131,7 +10131,7 @@
1013110131
If \tcode{e1} is an element of \range{first1}{last1} and
1013210132
\tcode{e2} of \range{first2}{last2},
1013310133
\tcode{e2} is copied into the output range before \tcode{e1}
10134-
if and only if $E(\tcode{e1}, \tcode{e1})$ is \tcode{true}.
10134+
if and only if $E$ is \tcode{true}.
1013510135

1013610136
\pnum
1013710137
\returns

0 commit comments

Comments
 (0)