| 63 | |
| 64 | template<class InputIterator, class Predicate> |
| 65 | bool any_of(InputIterator first, InputIterator last, Predicate pred) |
| 66 | { |
| 67 | while (first != last) |
| 68 | { |
| 69 | if (pred(*first++)) |
| 70 | return true; |
| 71 | } |
| 72 | |
| 73 | return false; |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | * 25.2.3, none_of: |
no outgoing calls