Skip to content

Commit 3f3837a

Browse files
committed
[alg.search] Replace "the following corresponding conditions"
It's not clear which conditions correspond to each overload.
1 parent 3de9b1c commit 3f3837a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source/algorithms.tex

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4550,12 +4550,16 @@
45504550
The type \tcode{Size}
45514551
is convertible to an integral type\iref{conv.integral,class.conv}.
45524552

4553+
\pnum
4554+
Let $E$ be \tcode{pred(*(i + n), value)}
4555+
for the overloads with a parameter \tcode{pred},
4556+
and \tcode{*(i + n) == value} otherwise.
4557+
45534558
\pnum
45544559
\returns
45554560
The first iterator \tcode{i} in the range \range{first}{last-count}
45564561
such that for every non-negative integer \tcode{n} less than \tcode{count}
4557-
the following corresponding conditions hold:
4558-
\tcode{*(i + n) == value, pred(*(i + n), value) != false}.
4562+
the condition $E$ is true.
45594563
Returns \tcode{last} if no such iterator is found.
45604564

45614565
\pnum

0 commit comments

Comments
 (0)