Skip to content

Commit

Permalink
[alg.search] Replace "the following corresponding conditions"
Browse files Browse the repository at this point in the history
It's not clear which conditions correspond to each overload.
  • Loading branch information
jwakely authored and tkoeppe committed Jul 29, 2024
1 parent 35904b9 commit 7f76c21
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions source/algorithms.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4550,12 +4550,16 @@
The type \tcode{Size}
is convertible to an integral type\iref{conv.integral,class.conv}.

\pnum
Let $E$ be \tcode{pred(*(i + n), value) != false}
for the overloads with a parameter \tcode{pred},
and \tcode{*(i + n) == value} otherwise.

\pnum
\returns
The first iterator \tcode{i} in the range \range{first}{last-count}
such that for every non-negative integer \tcode{n} less than \tcode{count}
the following corresponding conditions hold:
\tcode{*(i + n) == value, pred(*(i + n), value) != false}.
the condition $E$ is true.
Returns \tcode{last} if no such iterator is found.

\pnum
Expand Down

0 comments on commit 7f76c21

Please sign in to comment.