tmp/tmp0_6d06j4/{from.md → to.md}
RENAMED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
### Any of <a id="alg.any_of">[[alg.any_of]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
template <class InputIterator, class Predicate>
|
| 5 |
-
bool any_of(InputIterator first, InputIterator last, Predicate pred);
|
| 6 |
-
template <class ExecutionPolicy, class ForwardIterator, class Predicate>
|
| 7 |
-
bool any_of(ExecutionPolicy&& exec, ForwardIterator first, ForwardIterator last,
|
| 8 |
-
Predicate pred);
|
| 9 |
-
```
|
| 10 |
-
|
| 11 |
-
*Returns:* `false` if \[`first`, `last`) is empty or if there is no
|
| 12 |
-
iterator `i` in the range \[`first`, `last`) such that `pred(*i)` is
|
| 13 |
-
`true`, and `true` otherwise.
|
| 14 |
-
|
| 15 |
-
*Complexity:* At most `last - first` applications of the predicate.
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|