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

Function all_of

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

Source from the content-addressed store, hash-verified

47
48 template<class InputIterator, class Predicate>
49 bool all_of(InputIterator first, InputIterator last, Predicate pred)
50 {
51 while (first != last)
52 {
53 if (!pred(*first++))
54 return false;
55 }
56
57 return true;
58 }
59
60 /**
61 * 25.2.2, any_of:

Callers 1

test_non_modifyingMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_non_modifyingMethod · 0.68