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

Function find_if_not

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

Source from the content-addressed store, hash-verified

128
129 template<class InputIterator, class Predicate>
130 InputIterator find_if_not(InputIterator first, InputIterator last, Predicate pred)
131 {
132 while (first != last)
133 {
134 if (!pred(*first))
135 return first;
136 ++first;
137 }
138
139 return last;
140 }
141
142 /**
143 * 25.2.6, find_end:

Callers 1

test_non_modifyingMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_non_modifyingMethod · 0.68