tmp/tmp76e7w6g3/{from.md → to.md}
RENAMED
|
@@ -2,17 +2,27 @@
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class InputIterator, class T>
|
| 5 |
InputIterator find(InputIterator first, InputIterator last,
|
| 6 |
const T& value);
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
template<class InputIterator, class Predicate>
|
| 9 |
InputIterator find_if(InputIterator first, InputIterator last,
|
| 10 |
Predicate pred);
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
template<class InputIterator, class Predicate>
|
| 12 |
InputIterator find_if_not(InputIterator first, InputIterator last,
|
| 13 |
Predicate pred);
|
|
|
|
|
|
|
|
|
|
| 14 |
```
|
| 15 |
|
| 16 |
*Returns:* The first iterator `i` in the range \[`first`, `last`) for
|
| 17 |
which the following corresponding conditions hold: `*i == value`,
|
| 18 |
`pred(*i) != false`, `pred(*i) == false`. Returns `last` if no such
|
|
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class InputIterator, class T>
|
| 5 |
InputIterator find(InputIterator first, InputIterator last,
|
| 6 |
const T& value);
|
| 7 |
+
template<class ExecutionPolicy, class ForwardIterator, class T>
|
| 8 |
+
ForwardIterator find(ExecutionPolicy&& exec, ForwardIterator first, ForwardIterator last,
|
| 9 |
+
const T& value);
|
| 10 |
|
| 11 |
template<class InputIterator, class Predicate>
|
| 12 |
InputIterator find_if(InputIterator first, InputIterator last,
|
| 13 |
Predicate pred);
|
| 14 |
+
template<class ExecutionPolicy, class ForwardIterator, class Predicate>
|
| 15 |
+
ForwardIterator find_if(ExecutionPolicy&& exec, ForwardIterator first, ForwardIterator last,
|
| 16 |
+
Predicate pred);
|
| 17 |
+
|
| 18 |
template<class InputIterator, class Predicate>
|
| 19 |
InputIterator find_if_not(InputIterator first, InputIterator last,
|
| 20 |
Predicate pred);
|
| 21 |
+
template<class ExecutionPolicy, class ForwardIterator, class Predicate>
|
| 22 |
+
ForwardIterator find_if_not(ExecutionPolicy&& exec, ForwardIterator first, ForwardIterator last,
|
| 23 |
+
Predicate pred);
|
| 24 |
```
|
| 25 |
|
| 26 |
*Returns:* The first iterator `i` in the range \[`first`, `last`) for
|
| 27 |
which the following corresponding conditions hold: `*i == value`,
|
| 28 |
`pred(*i) != false`, `pred(*i) == false`. Returns `last` if no such
|