MCPcopy Create free account
hub / github.com/HelenOS/helenos / any_of

Function any_of

uspace/lib/cpp/include/__bits/algorithm.hpp:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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:

Callers 2

test_non_modifyingMethod · 0.85
none_ofFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_non_modifyingMethod · 0.68