Skip to content

Commit 4b0f072

Browse files
burblebeetkoeppe
authored andcommitted
LWG4464 [alg.merge] Wording tweaks
Fixes NB US 163-262 (C++26 CD).
1 parent e9a860f commit 4b0f072

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
@@ -10107,12 +10107,12 @@
1010710107
\tcode{proj2} be \tcode{identity\{\}},
1010810108
for the overloads with no parameters by those names;
1010910109
\item
10110-
$E(\tcode{e1}, \tcode{e1})$ be \tcode{bool(invoke(comp, invoke(proj2, e2), invoke(proj1, e1)))};
10110+
$E$ be \tcode{bool(invoke(comp, invoke(proj2, e2), invoke(proj1, e1)))};
1011110111
\item
1011210112
$K$ be the smallest integer in \range{0}{last1 - first1}
1011310113
such that for the element \tcode{e1} in the position \tcode{first1 + $K$}
1011410114
there are at least $N - K$ elements \tcode{e2}
10115-
in \range{first2}{last2} for which $E(\tcode{e1}, \tcode{e1})$ holds,
10115+
in \range{first2}{last2} for which $E$ holds,
1011610116
and be equal to \tcode{last1 - first1}
1011710117
if no such integer exists.
1011810118
\begin{note}
@@ -10137,7 +10137,7 @@
1013710137
If \tcode{e1} is an element of \range{first1}{last1} and
1013810138
\tcode{e2} of \range{first2}{last2},
1013910139
\tcode{e2} is copied into the output range before \tcode{e1}
10140-
if and only if $E(\tcode{e1}, \tcode{e1})$ is \tcode{true}.
10140+
if and only if $E$ is \tcode{true}.
1014110141

1014210142
\pnum
1014310143
\returns

0 commit comments

Comments
 (0)