MCPcopy Create free account
hub / github.com/FastLED/FastLED / find_if_not

Function find_if_not

src/fl/stl/algorithm.h:234–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232
233template <typename Iterator, typename UnaryPredicate>
234Iterator find_if_not(Iterator first, Iterator last, UnaryPredicate pred) FL_NOEXCEPT {
235 while (first != last) {
236 if (!pred(*first)) {
237 return first;
238 }
239 ++first;
240 }
241 return last;
242}
243
244template <typename Iterator, typename T>
245void replace(Iterator first, Iterator last, const T& old_value, const T& new_value) FL_NOEXCEPT {

Callers 1

FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected